From bfaa26c2d4f1fc21016323dc90ead0432d693af8 Mon Sep 17 00:00:00 2001 From: gscalamera <graziano.scalamera@elettra.eu> Date: Fri, 8 Mar 2024 11:20:57 +0100 Subject: [PATCH] Fix return type of load_intensity_cal_file and save_intensity_cal_file --- src/CCDSpectrometer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CCDSpectrometer.cpp b/src/CCDSpectrometer.cpp index 09fa6d1..df65584 100644 --- a/src/CCDSpectrometer.cpp +++ b/src/CCDSpectrometer.cpp @@ -3574,7 +3574,7 @@ void CCDSpectrometer::string_explode(string str, string separator, vector<string } -int CCDSpectrometer::load_intensity_cal_file(string filename) +void CCDSpectrometer::load_intensity_cal_file(string filename) { string line; ifstream infile (filename.c_str(), ios_base::in); @@ -3599,7 +3599,7 @@ int CCDSpectrometer::load_intensity_cal_file(string filename) //DEBUG_STREAM <<__func__ << ": Read from " << filename << " " << tmp.size << " lines or " << tmp.size_d << " reals"; } -int CCDSpectrometer::save_intensity_cal_file(string filename) +void CCDSpectrometer::save_intensity_cal_file(string filename) { string line; ofstream outfile (filename.c_str(), ios_base::out | ios_base::trunc); -- GitLab