diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-25 16:52:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-03-25 16:52:35 +0200 |
commit | 92349548ad2c2381d66ea2fc501b5466fed9789c (patch) | |
tree | 86c8666797847674d881f634a4b82cfd55de8dd8 /odb/sqlite/forward.hxx | |
parent | acee0bb337fe1895a4d06166effccfbade095a1c (diff) |
Use forward-declared query class in result interface
Diffstat (limited to 'odb/sqlite/forward.hxx')
-rw-r--r-- | odb/sqlite/forward.hxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/odb/sqlite/forward.hxx b/odb/sqlite/forward.hxx index d141534..7688b9c 100644 --- a/odb/sqlite/forward.hxx +++ b/odb/sqlite/forward.hxx @@ -8,12 +8,12 @@ #include <odb/pre.hxx> +#include <odb/forward.hxx> + namespace odb { namespace sqlite { - // @@ Any garbage here? - // class database; class connection; class connection_factory; @@ -29,6 +29,17 @@ namespace odb template <typename T> class container_statements; + + class query_params; + } + + namespace details + { + template <> + struct counter_type<sqlite::query_params> + { + typedef shared_base counter; + }; } } |