summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--options/value.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/value.hpp b/options/value.hpp
index 48f71d47..020cbeea 100644
--- a/options/value.hpp
+++ b/options/value.hpp
@@ -214,7 +214,7 @@ public:
template<typename u>
OTR_NEVER_INLINE
- u to()
+ u to() const
{
return static_cast<u>(get());
}