diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-22 12:14:01 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-22 12:14:01 +0200 |
commit | 919c93546cd45cd7c4cf9df18e1758be51d55e7b (patch) | |
tree | 3ac7960944be03454aff2903954e0e3118e0ddbc | |
parent | ebb443f0f2d0cbcb7cc2bc0b48aeef9ee314f7bb (diff) |
Add missing template argument
-rw-r--r-- | common/query/driver.cxx | 2 |
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)); |