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-command.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg/pkg-command.cxx') diff --git a/bpkg/pkg-command.cxx b/bpkg/pkg-command.cxx index fc8deb9..39caa8e 100644 --- a/bpkg/pkg-command.cxx +++ b/bpkg/pkg-command.cxx @@ -36,13 +36,13 @@ namespace bpkg database db (open (c, trace)); transaction t (db.begin ()); - shared_ptr p (db.find (n)); + shared_ptr p (db.find (n)); t.commit (); if (p == nullptr) fail << "package " << n << " does not exist in configuration " << c; - if (p->state != state::configured) + if (p->state != package_state::configured) fail << "package " << n << " is " << p->state << info << "expected it to be configured"; -- cgit v1.1