diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-12-12 14:31:22 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-12-12 14:31:22 +0200 |
commit | 42fee52342964c689be0e48bed07637be2fb45c1 (patch) | |
tree | 664cecc9812a5013991ce8dbc5bf2a5bd6a363df /common/prepared/driver.cxx | |
parent | 75b6052087c925b5f983c9af36c4b548d143e31e (diff) |
Don't use 0 to initialize std::function2.2.0.a2
This doesn't work on VC++ 11.
Diffstat (limited to 'common/prepared/driver.cxx')
-rw-r--r-- | common/prepared/driver.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/common/prepared/driver.cxx b/common/prepared/driver.cxx index ba92285..1b4ad0e 100644 --- a/common/prepared/driver.cxx +++ b/common/prepared/driver.cxx @@ -248,7 +248,8 @@ main (int argc, char* argv[]) t.commit (); } - db->query_factory ("person-params-query", 0); + db->query_factory ("person-params-query", + database::query_factory_type ()); } // Cached query with wildcard factory. @@ -272,7 +273,7 @@ main (int argc, char* argv[]) t.commit (); } - db->query_factory ("", 0); + db->query_factory ("", database::query_factory_type ()); } // Cached query with lambda factory. @@ -310,7 +311,8 @@ main (int argc, char* argv[]) t.commit (); } - db->query_factory ("person-params-query-2", 0); + db->query_factory ("person-params-query-2", + database::query_factory_type ()); } #endif |