From d6be3b97cc3ce723ca3b2372c893b41aec16a9a4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Sep 2015 15:39:50 +0200 Subject: Use nullopt to reset optional --- bpkg/pkg-disfigure.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpkg/pkg-disfigure.cxx') diff --git a/bpkg/pkg-disfigure.cxx b/bpkg/pkg-disfigure.cxx index d9ed811..48e54ba 100644 --- a/bpkg/pkg-disfigure.cxx +++ b/bpkg/pkg-disfigure.cxx @@ -82,7 +82,7 @@ namespace bpkg throw; } - p->out_root = optional (); + p->out_root = nullopt; p->state = state::unpacked; db.update (p); -- cgit v1.1