diff options
Diffstat (limited to 'odb/mysql/simple-object-statements.hxx')
-rw-r--r-- | odb/mysql/simple-object-statements.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/mysql/simple-object-statements.hxx b/odb/mysql/simple-object-statements.hxx index d369313..27f65a1 100644 --- a/odb/mysql/simple-object-statements.hxx +++ b/odb/mysql/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_mysql> object_traits; optimistic_data (MYSQL_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_mysql> 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; |