removed M3 ops and fixed comment

This commit is contained in:
Erik Frojdh
2022-02-02 19:27:44 +01:00
parent 6c662b1370
commit 2c842afbf4
2 changed files with 3 additions and 15 deletions

View File

@ -563,6 +563,8 @@ enum streamingInterface {
#ifdef __cplusplus
};
//operators needed in ToString
inline slsDetectorDefs::streamingInterface
operator|(const slsDetectorDefs::streamingInterface &a,
const slsDetectorDefs::streamingInterface &b) {
@ -577,19 +579,7 @@ operator&(const slsDetectorDefs::streamingInterface &a,
static_cast<int32_t>(b));
};
inline slsDetectorDefs::M3_GainCaps
operator|(const slsDetectorDefs::M3_GainCaps &a,
const slsDetectorDefs::M3_GainCaps &b) {
return slsDetectorDefs::M3_GainCaps(static_cast<int32_t>(a) |
static_cast<int32_t>(b));
};
inline slsDetectorDefs::M3_GainCaps
operator&(const slsDetectorDefs::M3_GainCaps &a,
const slsDetectorDefs::M3_GainCaps &b) {
return slsDetectorDefs::M3_GainCaps(static_cast<int32_t>(a) &
static_cast<int32_t>(b));
};
#endif