diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-12-25 01:26:01 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-12-28 14:42:11 +0300 |
commit | 21d9f67600a53af44d0f7365074de5312a829193 (patch) | |
tree | b6a09420c12049fc91e07bef80f2333a81ce6330 /libbrep/common.hxx | |
parent | 911f505667eb8c8fd8b69d3f4b0969160eb1de55 (diff) |
Adapt to repository location interface change
Diffstat (limited to 'libbrep/common.hxx')
-rw-r--r-- | libbrep/common.hxx | 9 |
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. // |