aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-fetch.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-17 15:39:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-17 15:39:50 +0200
commitd6be3b97cc3ce723ca3b2372c893b41aec16a9a4 (patch)
tree1afb9ac33041d434eb45f43bf0d7e748ccda7d59 /bpkg/pkg-fetch.cxx
parent2677da127b99bc4e6d904de3f14b8fe3f781740f (diff)
Use nullopt to reset optional
Diffstat (limited to 'bpkg/pkg-fetch.cxx')
-rw-r--r--bpkg/pkg-fetch.cxx4
1 files changed, 2 insertions, 2 deletions
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<dir_path> (), // No source directory yet.
+ nullopt, // No source directory yet.
false,
- optional<dir_path> () // No output directory yet.
+ nullopt // No output directory yet.
});
db.persist (p);