From f82ed52a4959cecae176600180f967328d924ce6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 6 Oct 2015 10:12:14 +0200 Subject: Rename package to selected_package, state to package_state --- bpkg/pkg-fetch.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bpkg/pkg-fetch.cxx') diff --git a/bpkg/pkg-fetch.cxx b/bpkg/pkg-fetch.cxx index 4a2a9ea..14022e8 100644 --- a/bpkg/pkg-fetch.cxx +++ b/bpkg/pkg-fetch.cxx @@ -120,7 +120,7 @@ namespace bpkg // See if this package already exists in this configuration. // - if (shared_ptr p = db.find (n)) + if (shared_ptr p = db.find (n)) fail << "package " << n << " already exists in configuration " << c << info << "version: " << p->version << ", state: " << p->state; @@ -136,10 +136,10 @@ namespace bpkg // Add the package to the configuration. // - shared_ptr p (new package { + shared_ptr p (new selected_package { move (m.name), move (m.version), - state::fetched, + package_state::fetched, move (rl), move (a), purge, -- cgit v1.1