aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/query/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/query/driver.cxx b/common/query/driver.cxx
index 0c299f2..9ff596b 100644
--- a/common/query/driver.cxx
+++ b/common/query/driver.cxx
@@ -77,7 +77,7 @@ main (int argc, char* argv[])
query name_q ("first = " + query::_val (name));
query q (age_q + "AND" + name_q);
- db->query (q);
+ db->query<person> (q);
db->query<person> (age_q + "OR" +
name_q + "OR" +
"age < " + query::_ref (age));