Skip to content

Commit 3343626

Browse files
committed
[Common] added comment
1 parent 6603aa9 commit 3343626

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Common/CCDB/RCTSelectionFlags.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,9 @@ class RCTFlagsChecker : public o2::utils::EnumFlags<RCTSelectionFlags>
210210
// The function returns true if none of the checked flags is set in the RCT column.
211211
bool checkTable(const HasRCTFlags auto& table)
212212
{
213+
// throw an exception if none of the bits in the checker mask is set
213214
if (!any()) {
214-
throw std::out_of_range("RCTFlagsCheckerAlt with empty RCTSelectionFlags bits mask");
215+
throw std::out_of_range("RCTFlagsChecker has empty RCTSelectionFlags bits mask");
215216
}
216217

217218
// bitmask of the current table

0 commit comments

Comments
 (0)