summaryrefslogtreecommitdiffhomepage
path: root/util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'util.cpp')
-rw-r--r--util.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.cpp b/util.cpp
index 2a81823..d4616cf 100644
--- a/util.cpp
+++ b/util.cpp
@@ -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;
}