mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 05:50:14 +01:00
chaning return type of getSettingsDir and setSettingsDir to std::string
This commit is contained in:
@@ -483,9 +483,9 @@ class slsDetector : public slsDetectorUtils, public energyConversion {
|
||||
/* I/O */
|
||||
|
||||
/** returns the detector trimbit/settings directory \sa sharedSlsDetector */
|
||||
char* getSettingsDir() {return thisDetector->settingsDir;};
|
||||
std::string getSettingsDir() {return std::string(thisDetector->settingsDir);};
|
||||
/** sets the detector trimbit/settings directory \sa sharedSlsDetector */
|
||||
char* setSettingsDir(string s) {sprintf(thisDetector->settingsDir, s.c_str()); return thisDetector->settingsDir;};
|
||||
std::string setSettingsDir(string s) {sprintf(thisDetector->settingsDir, s.c_str()); return thisDetector->settingsDir;};
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user