mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-20 10:19:07 +01:00
changed type of getCalDir to std::string
This commit is contained in:
@@ -3061,9 +3061,9 @@ string slsDetectorCommand::cmdCalDir(int narg, char *args[], int action){
|
||||
if (action==PUT_ACTION) {
|
||||
myDet->setCalDir(string(args[1]));
|
||||
}
|
||||
if (myDet->getCalDir()==NULL)
|
||||
if ( (myDet->getCalDir()).empty() )
|
||||
return string("undefined");
|
||||
return string(myDet->getCalDir());
|
||||
return myDet->getCalDir();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user