aboutsummaryrefslogtreecommitdiff
path: root/common/readonly/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/readonly/driver.cxx')
-rw-r--r--common/readonly/driver.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/readonly/driver.cxx b/common/readonly/driver.cxx
index b67ed4f..2e692cf 100644
--- a/common/readonly/driver.cxx
+++ b/common/readonly/driver.cxx
@@ -204,9 +204,9 @@ main (int argc, char* argv[])
// Readonly object.
//
{
- typedef odb::object_traits<simple_object> so_traits;
- typedef odb::object_traits<ro_object> ro_traits;
- typedef odb::object_traits<rw_object> rw_traits;
+ typedef odb::object_traits_impl<simple_object, odb::id_default> so_traits;
+ typedef odb::object_traits_impl<ro_object, odb::id_default> ro_traits;
+ typedef odb::object_traits_impl<rw_object, odb::id_default> rw_traits;
assert (so_traits::column_count ==
so_traits::id_column_count + so_traits::readonly_column_count);