From 21d9f67600a53af44d0f7365074de5312a829193 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 25 Dec 2017 01:26:01 +0300 Subject: Adapt to repository location interface change --- libbrep/common.hxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libbrep') 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. // -- cgit v1.1