aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdep/wrapper-traits.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdep/wrapper-traits.hxx b/bdep/wrapper-traits.hxx
index dd665d6..b860f56 100644
--- a/bdep/wrapper-traits.hxx
+++ b/bdep/wrapper-traits.hxx
@@ -37,7 +37,7 @@ namespace odb
static void
set_null (wrapper_type& o)
{
- o = wrapper_type ();
+ o = butl::nullopt;
}
static const wrapped_type&