Skip to content

Commit

Permalink
add missing <algorithm> header to util.hpp
Browse files Browse the repository at this point in the history
Backported from master with
cherry-pick 3a3984e
  • Loading branch information
aquileia committed Jun 7, 2014
1 parent 42a26a1 commit f599266
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util.hpp
Expand Up @@ -25,6 +25,7 @@
#include <math.h> // cmath may not provide round()
#include <vector>
#include <sstream>
#include <algorithm>

template<typename T>
inline bool is_even(T num) { return num % 2 == 0; }
Expand Down

0 comments on commit f599266

Please sign in to comment.