aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/simple-object-statements.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/sqlite/simple-object-statements.hxx')
-rw-r--r--odb/sqlite/simple-object-statements.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/sqlite/simple-object-statements.hxx b/odb/sqlite/simple-object-statements.hxx
index 90f2494..66dc0f9 100644
--- a/odb/sqlite/simple-object-statements.hxx
+++ b/odb/sqlite/simple-object-statements.hxx
@@ -147,7 +147,7 @@ namespace odb
struct optimistic_data<T, true>
{
typedef T object_type;
- typedef odb::object_traits<object_type> object_traits;
+ typedef object_traits_impl<object_type, id_sqlite> object_traits;
optimistic_data (bind*);
@@ -170,7 +170,7 @@ namespace odb
{
public:
typedef T object_type;
- typedef odb::object_traits<object_type> object_traits;
+ typedef object_traits_impl<object_type, id_sqlite> object_traits;
typedef typename object_traits::id_type id_type;
typedef typename object_traits::pointer_type pointer_type;
typedef typename object_traits::image_type image_type;