diff options
Diffstat (limited to 'util.cpp')
-rw-r--r-- | util.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,7 @@ #include "util.h" +#include <algorithm> + bool RIT::is_power_of_two(unsigned int n) { return n != 0 && (n & (n - 1)) == 0; } |