diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-25 08:56:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-07-25 08:56:48 +0200 |
commit | 098559ca3552ebd8f80a6d28254f4fa58913b751 (patch) | |
tree | 1eb6f65b492d3217a380a909f6810a5f3e00cc37 /butl/optional | |
parent | 6c8e3f09c185d7fa4664ccd9e5c4f623a17b84cc (diff) |
Add DLL export/import support
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 |