aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-fetch.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-10-06 10:12:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-10-06 10:12:14 +0200
commitf82ed52a4959cecae176600180f967328d924ce6 (patch)
tree32f747c8423c0206dbed74123207a006362b90a7 /bpkg/pkg-fetch.cxx
parentfd2c0dc9707714d82580dc61854efc06335e6091 (diff)
Rename package to selected_package, state to package_state
Diffstat (limited to 'bpkg/pkg-fetch.cxx')
-rw-r--r--bpkg/pkg-fetch.cxx6
1 files changed, 3 insertions, 3 deletions
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<package> p = db.find<package> (n))
+ if (shared_ptr<selected_package> p = db.find<selected_package> (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<package> p (new package {
+ shared_ptr<selected_package> p (new selected_package {
move (m.name),
move (m.version),
- state::fetched,
+ package_state::fetched,
move (rl),
move (a),
purge,