diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-19 09:50:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-09-19 09:50:32 +0200 |
commit | c9ff2aaaf3cadcd1a80455cba426ffb12e62ce7b (patch) | |
tree | 436b8ff497e5e1777a25fda3324fdbbf2849489b /odb/relational/header.hxx | |
parent | 22ee058d65ff5120a35c483cb414923c647a124c (diff) |
Use query_base_type instead of query_type as argument type
The base type is sufficient.
Diffstat (limited to 'odb/relational/header.hxx')
-rw-r--r-- | odb/relational/header.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odb/relational/header.hxx b/odb/relational/header.hxx index 4ac919c..51c95f9 100644 --- a/odb/relational/header.hxx +++ b/odb/relational/header.hxx @@ -1165,11 +1165,11 @@ namespace relational { os << "template<typename T>" << endl << "static result<T>" << endl - << "query (database&, const query_type&);" + << "query (database&, const query_base_type&);" << endl; os << "static unsigned long long" << endl - << "erase_query (database&, const query_type&);" + << "erase_query (database&, const query_base_type&);" << endl; } @@ -1207,7 +1207,7 @@ namespace relational if (options.generate_query ()) os << "static void" << endl << "query_ (database&," << endl - << "const query_type&," << endl + << "const query_base_type&," << endl << db << "::object_statements< object_type >&," << endl << "details::shared_ptr< " << db << "::select_statement >&);" << endl; @@ -1402,7 +1402,7 @@ namespace relational // query () // os << "static result<view_type>" << endl - << "query (database&, const query_type&);" + << "query (database&, const query_base_type&);" << endl; view_public_extra_post (c); |