summaryrefslogtreecommitdiff
path: root/odb/common.cxx
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/common.cxx
parentf01ad68661d62af62087b7b1ae29628f028e9eaa (diff)
Implement --output-name, --generate-schema-only, and --at-once options
Diffstat (limited to 'odb/common.cxx')
-rw-r--r--odb/common.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/common.cxx b/odb/common.cxx
index 667afc0..be8e6c5 100644
--- a/odb/common.cxx
+++ b/odb/common.cxx
@@ -599,7 +599,7 @@ check (semantics::typedefs& t)
//
if (!included_)
{
- if (class_file (*ci) != unit.file ())
+ if (!options.at_once () && class_file (*ci) != unit.file ())
return false;
}