Skip to content

Commit 2ac21b0

Browse files
committed
Formatting fixes
1 parent c4d6505 commit 2ac21b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGUD/Core/UDHelpers.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
#include <bitset>
3535
#include <vector>
36+
#include <algorithm>
3637

3738
// namespace with helpers for UD framework
3839
namespace udhelpers
@@ -542,7 +543,7 @@ inline void setBit(uint64_t w[4], int bit, bool val)
542543
}
543544
const int word = bit >> 6;
544545
const int offs = bit & 63;
545-
w[word] |= (uint64_t(1) << offs);
546+
w[word] |= (static_cast<uint64_t>(1) << offs);
546547
}
547548

548549
template <typename TFT0, typename TFV0A>

0 commit comments

Comments
 (0)