Moved include to correct header
This commit is contained in:
parent
51cf4a0fff
commit
7550592412
2
mask.h
2
mask.h
|
@ -1,3 +1,5 @@
|
|||
#include <algorithm>
|
||||
|
||||
template<typename T> constexpr T mask(size_t bits, size_t offset = 0) {
|
||||
return (((T)1 << bits) - 1) << offset;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#include <algorithm>
|
||||
#include <exception>
|
||||
#include <string>
|
||||
|
||||
|
|
Loading…
Reference in New Issue