clang-format
Build on RHEL8 / build (push) Successful in 2m30s
Build on RHEL9 / build (push) Successful in 2m34s
Run tests using data on local RHEL8 / build (push) Failing after 3m10s

This commit is contained in:
2026-02-19 15:35:19 +01:00
parent 1f7a87cc30
commit 5dbc746462
34 changed files with 327 additions and 350 deletions
+10 -13
View File
@@ -51,23 +51,20 @@ void assert_failed(const std::string &msg) {
// throw std::runtime_error("Could not decode detector to string");
// }
BitOffset::BitOffset(uint32_t offset){
if (offset>7)
throw std::runtime_error(fmt::format("{} BitOffset needs to be <8: Called with {}", LOCATION, offset));
BitOffset::BitOffset(uint32_t offset) {
if (offset > 7)
throw std::runtime_error(fmt::format(
"{} BitOffset needs to be <8: Called with {}", LOCATION, offset));
m_offset = static_cast<uint8_t>(offset);
}
bool BitOffset::operator==(const BitOffset& other) const {
return m_offset == other.m_offset;
}
bool BitOffset::operator<(const BitOffset& other) const {
return m_offset < other.m_offset;
}
bool BitOffset::operator==(const BitOffset &other) const {
return m_offset == other.m_offset;
}
bool BitOffset::operator<(const BitOffset &other) const {
return m_offset < other.m_offset;
}
} // namespace aare