diff options
Diffstat (limited to 'butl/optional')
-rw-r--r-- | butl/optional | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/butl/optional b/butl/optional index 86bbe59..0ae7e7b 100644 --- a/butl/optional +++ b/butl/optional @@ -12,7 +12,7 @@ namespace butl // Simple optional class template while waiting for std::optional. // struct nullopt_t {constexpr nullopt_t (int) {}}; - constexpr nullopt_t nullopt = 1; + constexpr const nullopt_t nullopt = 1; template <typename T> class optional |