diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-06 10:12:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-10-06 10:12:14 +0200 |
commit | f82ed52a4959cecae176600180f967328d924ce6 (patch) | |
tree | 32f747c8423c0206dbed74123207a006362b90a7 /bpkg/pkg-status.cxx | |
parent | fd2c0dc9707714d82580dc61854efc06335e6091 (diff) |
Rename package to selected_package, state to package_state
Diffstat (limited to 'bpkg/pkg-status.cxx')
-rw-r--r-- | bpkg/pkg-status.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/pkg-status.cxx b/bpkg/pkg-status.cxx index 196106a..c1cd12f 100644 --- a/bpkg/pkg-status.cxx +++ b/bpkg/pkg-status.cxx @@ -46,15 +46,15 @@ namespace bpkg // First search in the packages that already exist in this configuration. // - shared_ptr<package> p; + shared_ptr<selected_package> p; { - using query = query<package>; + using query = query<selected_package>; query q (query::name == n); if (!v.empty ()) q = q && query::version == v; - p = db.query_one<package> (q); + p = db.query_one<selected_package> (q); } // Now look for available packages. If the user specified the version |