mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-25 15:50:03 +02:00
constexpr not compiling for rhel7 and warning left
This commit is contained in:
parent
e382df21b9
commit
69f558c072
@ -30,7 +30,7 @@ class Pattern {
|
||||
bool operator!=(const Pattern &other) const;
|
||||
patternParameters *data();
|
||||
patternParameters *data() const;
|
||||
constexpr size_t size() const noexcept { return sizeof(patternParameters); }
|
||||
const size_t size() const noexcept { return sizeof(patternParameters); }
|
||||
void validate() const;
|
||||
void load(const std::string &fname);
|
||||
void save(const std::string &fname);
|
||||
@ -38,4 +38,4 @@ class Pattern {
|
||||
};
|
||||
|
||||
} // namespace sls
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user