aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-add.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-07 22:36:57 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-08 13:35:44 +0300
commitccd8c8dadfcfd9181772b3061e7b075d88942505 (patch)
tree2e2d292deafa3e3282128c0a92ea1b9894809e6f /bpkg/rep-add.hxx
parentd234bf4a341edb470a2c81f2533f7eb5c67c948c (diff)
Change database parameter type to transaction for some rep_*() functions
Diffstat (limited to 'bpkg/rep-add.hxx')
-rw-r--r--bpkg/rep-add.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/rep-add.hxx b/bpkg/rep-add.hxx
index 192df05..226f0e2 100644
--- a/bpkg/rep-add.hxx
+++ b/bpkg/rep-add.hxx
@@ -8,7 +8,7 @@
#include <libbpkg/manifest.hxx>
#include <bpkg/types.hxx>
-#include <bpkg/forward.hxx> // database, repository
+#include <bpkg/forward.hxx> // transaction, repository
#include <bpkg/utility.hxx>
#include <bpkg/rep-add-options.hxx>
@@ -23,7 +23,7 @@ namespace bpkg
// repository if it is not already.
//
shared_ptr<repository>
- rep_add (database&, const repository_location&);
+ rep_add (transaction&, const repository_location&);
}
#endif // BPKG_REP_ADD_HXX