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/header.hxx | |
parent | fbc2ecb4b8f27501f7ea5ed6fe6bedea3bad1385 (diff) |
Cut out pointer-to-id traversal so that we don't go into composite ids
Diffstat (limited to 'odb/relational/header.hxx')
-rw-r--r-- | odb/relational/header.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/odb/relational/header.hxx b/odb/relational/header.hxx index de152ca..0af9109 100644 --- a/odb/relational/header.hxx +++ b/odb/relational/header.hxx @@ -153,6 +153,12 @@ namespace relational } virtual void + traverse_pointer (semantics::data_member&, semantics::class_&) + { + // We don't want to traverse composite id. + } + + virtual void traverse_composite (semantics::data_member* m, semantics::class_& c) { if (object (c_)) |