diff options
Diffstat (limited to 'odb/sqlite/polymorphic-object-result.txx')
-rw-r--r-- | odb/sqlite/polymorphic-object-result.txx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/sqlite/polymorphic-object-result.txx b/odb/sqlite/polymorphic-object-result.txx index dfff9ff..7e751b3 100644 --- a/odb/sqlite/polymorphic-object-result.txx +++ b/odb/sqlite/polymorphic-object-result.txx @@ -23,7 +23,7 @@ namespace odb template <typename T> polymorphic_object_result_impl<T>:: - polymorphic_object_result_impl (const query& q, + polymorphic_object_result_impl (const query_base& q, details::shared_ptr<select_statement> st, statements_type& sts) : base_type (sts.connection ().database ()), @@ -179,7 +179,7 @@ namespace odb { // Derived type version. // - typedef object_traits<T> traits; + typedef object_traits_impl<T, id_sqlite> traits; static bool rebind (typename traits::statements_type& sts) @@ -204,7 +204,7 @@ namespace odb { // Root type version. // - typedef object_traits<R> traits; + typedef object_traits_impl<R, id_sqlite> traits; static bool rebind (typename traits::statements_type& sts) |