DiffractionExperiment: slsDetectorPackage use string for server version

This commit is contained in:
2023-04-13 11:04:04 +02:00
parent ee33e309c3
commit 5b112f1ee4
4 changed files with 5 additions and 5 deletions

View File

@@ -205,10 +205,10 @@ int64_t DetectorWrapper::GetFirmwareVersion() {
}
}
int64_t DetectorWrapper::GetDetectorServerVersion() {
std::string DetectorWrapper::GetDetectorServerVersion() {
try {
auto result = det.getDetectorServerVersion();
return result.squash(0x0);
return result.squash("");
} catch (std::exception &e) {
throw JFJochException(JFJochExceptionCategory::Detector, e.what());
}