aboutsummaryrefslogtreecommitdiff
path: root/relationship
diff options
context:
space:
mode:
Diffstat (limited to 'relationship')
-rw-r--r--relationship/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/relationship/driver.cxx b/relationship/driver.cxx
index ed359c1..1690d91 100644
--- a/relationship/driver.cxx
+++ b/relationship/driver.cxx
@@ -153,7 +153,7 @@ main (int argc, char* argv[])
transaction t (db->begin ());
result r (db->query<employee> (
- query::employer::name == "Complex Systems Inc"));
+ query::employer->name == "Complex Systems Inc"));
for (result::iterator i (r.begin ()); i != r.end (); ++i)
print (*i);