diff options
Diffstat (limited to 'bpkg/rep-remove.cxx')
-rw-r--r-- | bpkg/rep-remove.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/rep-remove.cxx b/bpkg/rep-remove.cxx index 53a7de1..f161c71 100644 --- a/bpkg/rep-remove.cxx +++ b/bpkg/rep-remove.cxx @@ -198,7 +198,7 @@ namespace bpkg { // Note that we don't rely on being in session nor create one. // - transaction t (db.begin ()); + transaction t (db); db.erase_query<available_package> (); @@ -296,7 +296,7 @@ namespace bpkg // vector<lazy_shared_ptr<repository>> repos; - transaction t (db.begin ()); + transaction t (db); session s; // Repository dependencies can have cycles. shared_ptr<repository> root (db.load<repository> ("")); |