aboutsummaryrefslogtreecommitdiff
path: root/common/relationship
diff options
context:
space:
mode:
Diffstat (limited to 'common/relationship')
-rw-r--r--common/relationship/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/relationship/driver.cxx b/common/relationship/driver.cxx
index 3ce7e8c..e2ac749 100644
--- a/common/relationship/driver.cxx
+++ b/common/relationship/driver.cxx
@@ -105,7 +105,7 @@ main (int argc, char* argv[])
{
transaction t (db->begin ());
- result r (db->query<aggr> (query::o1::str == "obj1"));
+ result r (db->query<aggr> (query::o1->str == "obj1"));
assert (!r.empty ());
assert (r.begin ()->o1->id == a.o1->id);
assert (size (r) == 1);