mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 17:37:45 +01:00
changed type of getCalDir to std::string
This commit is contained in:
@@ -493,12 +493,12 @@ class slsDetector : public slsDetectorUtils, public energyConversion {
|
||||
returns the location of the calibration files
|
||||
\sa sharedSlsDetector
|
||||
*/
|
||||
char* getCalDir() {return thisDetector->calDir;};
|
||||
std::string getCalDir() {return thisDetector->calDir;};
|
||||
/**
|
||||
sets the location of the calibration files
|
||||
\sa sharedSlsDetector
|
||||
*/
|
||||
char* setCalDir(string s) {sprintf(thisDetector->calDir, s.c_str()); return thisDetector->calDir;};
|
||||
std::string setCalDir(string s) {sprintf(thisDetector->calDir, s.c_str()); return thisDetector->calDir;};
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user