From 3ab265185158a196901a7312e93c19d1f40212dc Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Fri, 9 Dec 2022 00:41:23 -0500 Subject: [PATCH] must add const attribute to method --- src/ML-POD/fitpod_command.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ML-POD/fitpod_command.h b/src/ML-POD/fitpod_command.h index d632a8e074..e0928c8df3 100644 --- a/src/ML-POD/fitpod_command.h +++ b/src/ML-POD/fitpod_command.h @@ -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;