diff options
Diffstat (limited to 'src/sexpr/void.hpp')
-rw-r--r-- | src/sexpr/void.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sexpr/void.hpp b/src/sexpr/void.hpp index 4ef20cc..a17de9d 100644 --- a/src/sexpr/void.hpp +++ b/src/sexpr/void.hpp @@ -28,7 +28,7 @@ namespace sexpr struct Void { template<class T> - constexpr operator T() noexcept { return T(); } + constexpr operator T() const noexcept { return T(); } template<class T> void operator = (T&&) noexcept {} template<class T> |