aboutsummaryrefslogtreecommitdiff
path: root/libbrep
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-12-25 01:26:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-12-28 14:42:11 +0300
commit21d9f67600a53af44d0f7365074de5312a829193 (patch)
treeb6a09420c12049fc91e07bef80f2333a81ce6330 /libbrep
parent911f505667eb8c8fd8b69d3f4b0969160eb1de55 (diff)
Adapt to repository location interface change
Diffstat (limited to 'libbrep')
-rw-r--r--libbrep/common.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/libbrep/common.hxx b/libbrep/common.hxx
index 581784d..fc03a9a 100644
--- a/libbrep/common.hxx
+++ b/libbrep/common.hxx
@@ -201,12 +201,17 @@ namespace brep
}
};
+ // repository_type
+ //
+ using bpkg::repository_type;
+
// repository_location
//
using bpkg::repository_location;
- #pragma db map type(repository_location) as(string) \
- to((?).string ()) from(brep::repository_location (?))
+ #pragma db map type(repository_location) as(string) \
+ to((?).string ()) \
+ from(brep::repository_location ((?), brep::repository_type::bpkg))
// Version comparison operators.
//