mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
fixed clang compiler warnings (#586)
This commit is contained in:
@ -50,7 +50,7 @@ void DetectorImpl::setupDetector(bool verify, bool update) {
|
||||
ctb_shm.openSharedMemory(verify);
|
||||
}
|
||||
|
||||
bool DetectorImpl::isAllPositions(const Positions pos) const {
|
||||
bool DetectorImpl::isAllPositions(Positions pos) const {
|
||||
return (pos.empty() || (pos.size() == 1 && pos[0] == -1) ||
|
||||
(pos.size() == modules.size()));
|
||||
}
|
||||
|
@ -190,7 +190,7 @@ class DetectorImpl : public virtual slsDetectorDefs {
|
||||
}
|
||||
}
|
||||
|
||||
bool isAllPositions(const Positions pos) const;
|
||||
bool isAllPositions(Positions pos) const;
|
||||
|
||||
/** set acquiring flag in shared memory */
|
||||
void setAcquiringFlag(bool flag);
|
||||
|
Reference in New Issue
Block a user