From b9376a8bd73d12c868dafa2d1f686058a77d35be Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 13 Aug 2010 13:37:36 +0200 Subject: Let the DB implementation define a specialization of query --- odb/query.hxx | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) (limited to 'odb/query.hxx') diff --git a/odb/query.hxx b/odb/query.hxx index d52e1cc..56af84b 100644 --- a/odb/query.hxx +++ b/odb/query.hxx @@ -6,33 +6,13 @@ #ifndef ODB_QUERY_HXX #define ODB_QUERY_HXX -#include - -#include #include namespace odb { - template - class query: public object_traits::query_type - { - public: - typedef typename object_traits::query_type base_type; - - query () - { - } - - query (const std::string& q) - : base_type (q) - { - } - - query (const base_type& q) - : base_type (q) - { - } - }; + template ::query_base_type> + class query; } #endif // ODB_QUERY_HXX -- cgit v1.1