diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-06-23 11:57:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-06-23 11:57:26 +0200 |
commit | c3cb4c76130950bf461e9f8d802f45e97d4113a1 (patch) | |
tree | 5fcf59240d75d6083909ae652f1a48e8b72cabf0 /odb/relational/model.hxx | |
parent | fbc2ecb4b8f27501f7ea5ed6fe6bedea3bad1385 (diff) |
Cut out pointer-to-id traversal so that we don't go into composite ids
Diffstat (limited to 'odb/relational/model.hxx')
-rw-r--r-- | odb/relational/model.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/relational/model.hxx b/odb/relational/model.hxx index 3ff5e06..bb83e02 100644 --- a/odb/relational/model.hxx +++ b/odb/relational/model.hxx @@ -453,6 +453,12 @@ namespace relational } virtual void + traverse_pointer (semantics::data_member&, semantics::class_&) + { + // We don't want to traverse composite id. + } + + virtual void traverse_object (semantics::class_& c) { if (context::top_object != &c) |