aboutsummaryrefslogtreecommitdiff
path: root/libbrep
diff options
context:
space:
mode:
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.
//