Moved include to correct header

This commit is contained in:
BLM 2015-07-27 15:52:38 -05:00
parent 51cf4a0fff
commit 7550592412
2 changed files with 2 additions and 1 deletions

2
mask.h
View File

@ -1,3 +1,5 @@
#include <algorithm>
template<typename T> constexpr T mask(size_t bits, size_t offset = 0) { template<typename T> constexpr T mask(size_t bits, size_t offset = 0) {
return (((T)1 << bits) - 1) << offset; return (((T)1 << bits) - 1) << offset;
} }

View File

@ -1,4 +1,3 @@
#include <algorithm>
#include <exception> #include <exception>
#include <string> #include <string>