summaryrefslogtreecommitdiff
path: root/src/ints/udl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ints/udl.hpp')
-rw-r--r--src/ints/udl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ints/udl.hpp b/src/ints/udl.hpp
index ecb5478..caed16b 100644
--- a/src/ints/udl.hpp
+++ b/src/ints/udl.hpp
@@ -122,7 +122,7 @@ namespace ints
template<class T>
constexpr
- operator T()
+ operator T() const
{
typedef typename std::make_unsigned<T>::type U;
// boo, body of constexpr function can't use variables