aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/header.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/header.hxx')
-rw-r--r--odb/relational/header.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/relational/header.hxx b/odb/relational/header.hxx
index c7a7445..25f9480 100644
--- a/odb/relational/header.hxx
+++ b/odb/relational/header.hxx
@@ -970,7 +970,7 @@ namespace relational
virtual void
traverse (type& c)
{
- if (class_file (c) != unit.file ())
+ if (!options.at_once () && class_file (c) != unit.file ())
return;
if (object (c))
@@ -1224,7 +1224,7 @@ namespace relational
virtual void
traverse (type& c)
{
- if (class_file (c) != unit.file ())
+ if (!options.at_once () && class_file (c) != unit.file ())
return;
if (object (c))