aboutsummaryrefslogtreecommitdiff
path: root/libbrep/common.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-01-22 14:59:34 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-02-12 17:43:40 +0300
commit55ce3cfd66dd0fc09db938cdbda4e5238bf01ab1 (patch)
tree951ccd1ce968586f031ca83fe86c21d58614d22d /libbrep/common.hxx
parent8135da3952d4f6dc876ba45935b4bb80749f38cc (diff)
Adapt to making repository_url(string) ctor explicit
Diffstat (limited to 'libbrep/common.hxx')
-rw-r--r--libbrep/common.hxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/libbrep/common.hxx b/libbrep/common.hxx
index fc03a9a..9fcb5c2 100644
--- a/libbrep/common.hxx
+++ b/libbrep/common.hxx
@@ -205,13 +205,18 @@ namespace brep
//
using bpkg::repository_type;
+ // repository_url
+ //
+ using bpkg::repository_url;
+
// repository_location
//
using bpkg::repository_location;
- #pragma db map type(repository_location) as(string) \
- to((?).string ()) \
- from(brep::repository_location ((?), brep::repository_type::bpkg))
+ #pragma db map type(repository_location) as(string) \
+ to((?).url ().string ()) \
+ from(brep::repository_location (brep::repository_url (?), \
+ brep::repository_type::bpkg))
// Version comparison operators.
//