From 098559ca3552ebd8f80a6d28254f4fa58913b751 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 25 Jul 2016 08:56:48 +0200 Subject: Add DLL export/import support --- butl/optional | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'butl/optional') 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 class optional -- cgit v1.1