diff options
Diffstat (limited to 'odb/sqlite/forward.hxx')
-rw-r--r-- | odb/sqlite/forward.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/sqlite/forward.hxx b/odb/sqlite/forward.hxx index 63c3be4..a4e3376 100644 --- a/odb/sqlite/forward.hxx +++ b/odb/sqlite/forward.hxx @@ -16,6 +16,7 @@ namespace odb { class database; class connection; + typedef details::shared_ptr<connection> connection_ptr; class connection_factory; class transaction; class query; @@ -37,6 +38,12 @@ namespace odb namespace details { template <> + struct counter_type<sqlite::connection> + { + typedef shared_base counter; + }; + + template <> struct counter_type<sqlite::query_params> { typedef shared_base counter; |