aboutsummaryrefslogtreecommitdiff
path: root/butl/optional
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-25 08:56:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-25 08:56:48 +0200
commit098559ca3552ebd8f80a6d28254f4fa58913b751 (patch)
tree1eb6f65b492d3217a380a909f6810a5f3e00cc37 /butl/optional
parent6c8e3f09c185d7fa4664ccd9e5c4f623a17b84cc (diff)
Add DLL export/import support
Diffstat (limited to 'butl/optional')
-rw-r--r--butl/optional2
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