must add const attribute to method

This commit is contained in:
Axel Kohlmeyer
2022-12-09 00:41:23 -05:00
parent 4aaf003fb1
commit 3ab2651851

View File

@ -67,7 +67,7 @@ class FitPOD : public Command {
double fitting_weights[12] = {100.0, 1.0, 0.0, 1, 1, 0, 0, 1, 1, 1, 1, 1e-10};
void copydatainfo(datastruct &data)
void copydatainfo(datastruct &data) const
{
data.data_path = data_path;
data.file_format = file_format;