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-fetch.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg/pkg-fetch.cxx') diff --git a/bpkg/pkg-fetch.cxx b/bpkg/pkg-fetch.cxx index 1e7072c..a5d216b 100644 --- a/bpkg/pkg-fetch.cxx +++ b/bpkg/pkg-fetch.cxx @@ -109,9 +109,9 @@ namespace bpkg state::fetched, move (a), purge, - optional (), // No source directory yet. + nullopt, // No source directory yet. false, - optional () // No output directory yet. + nullopt // No output directory yet. }); db.persist (p); -- cgit v1.1