summaryrefslogtreecommitdiff
path: root/odb/relational/header.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-09-12 14:28:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-09-12 14:28:03 +0200
commitc0931400a1c5f02cf145c90fd7e34216836efd88 (patch)
tree5e13c5864e5f3c944a316f9189eb87976c8908c0 /odb/relational/header.hxx
parentf01ad68661d62af62087b7b1ae29628f028e9eaa (diff)
Implement --output-name, --generate-schema-only, and --at-once options
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))