aboutsummaryrefslogtreecommitdiff
path: root/common/query
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-22 12:14:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-22 12:14:01 +0200
commit919c93546cd45cd7c4cf9df18e1758be51d55e7b (patch)
tree3ac7960944be03454aff2903954e0e3118e0ddbc /common/query
parentebb443f0f2d0cbcb7cc2bc0b48aeef9ee314f7bb (diff)
Add missing template argument
Diffstat (limited to 'common/query')
-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));