aboutsummaryrefslogtreecommitdiff
path: root/odb/common.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-10 12:41:33 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-21 15:40:00 +0200
commit63403a8a095ceba0ad9a17e46013a46918726181 (patch)
tree4ea1b907bf94124cf7b4dc831b631c91a98993be /odb/common.hxx
parentfa1fa57d5fe1cb901520f03e7f802a156aae1034 (diff)
Set context::object in all common traversers
Diffstat (limited to 'odb/common.hxx')
-rw-r--r--odb/common.hxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/odb/common.hxx b/odb/common.hxx
index 99741b2..8bf7b8e 100644
--- a/odb/common.hxx
+++ b/odb/common.hxx
@@ -43,7 +43,8 @@ public:
}
object_members_base (object_members_base const& x)
- : context (), member_ (*this)
+ : context (), //@@ -Wextra
+ member_ (*this)
{
init (x.build_prefix_, x.build_table_prefix_);
}
@@ -94,7 +95,7 @@ private:
// Traverse object columns recursively by going into composite members.
//
-struct object_columns_base: traversal::class_
+struct object_columns_base: traversal::class_, virtual context
{
// Returning false means that the column has been ignored and the
// first flag should not be changed.
@@ -117,7 +118,8 @@ public:
}
object_columns_base (object_columns_base const&)
- : member_ (*this)
+ : context (), //@@ -Wextra
+ member_ (*this)
{
init ();
}