aboutsummaryrefslogtreecommitdiff
path: root/boost/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'boost/driver.cxx')
-rw-r--r--boost/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/driver.cxx b/boost/driver.cxx
index bb1f134..6f59f90 100644
--- a/boost/driver.cxx
+++ b/boost/driver.cxx
@@ -142,7 +142,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" &&
query::born < date (1978, Apr, 1)));
for (result::iterator i (r.begin ()); i != r.end (); ++i)