aboutsummaryrefslogtreecommitdiff
path: root/libbrep/package.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-05-29 18:51:27 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-05-29 20:04:54 +0300
commitdea81cc7816a0b393564f4c1c94951dc7f4e277b (patch)
tree6f200ba5c1c67cf17b88391892908b2f9a64369d /libbrep/package.hxx
parentd0e23f3ff61e9fe1f790dac0c6fc0873777d0f86 (diff)
Adapt to making bpkg::url inheriting from butl::url
Diffstat (limited to 'libbrep/package.hxx')
-rw-r--r--libbrep/package.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/libbrep/package.hxx b/libbrep/package.hxx
index f59c0d8..c4304f6 100644
--- a/libbrep/package.hxx
+++ b/libbrep/package.hxx
@@ -65,7 +65,10 @@ namespace brep
using bpkg::url;
#pragma db value(url) definition
- #pragma db member(url::value) virtual(string) before access(this) column("")
+ #pragma db member(url::value) virtual(string) before \
+ get(this.string ()) \
+ set(this = brep::url ((?), "" /* comment */)) \
+ column("")
// email
//