diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-08-30 06:06:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-08-30 06:06:26 +0200 |
commit | f3f682c074117fda84bf51a4ce9a378d950a04de (patch) | |
tree | 464e5db1a9843a1edf814bb0c0143767219ccc0c /odb/header.cxx | |
parent | c1f534db5d6bc29f9be0e7498e4971c7132d013a (diff) |
Statement processing/optimization base work
Diffstat (limited to 'odb/header.cxx')
-rw-r--r-- | odb/header.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/header.cxx b/odb/header.cxx index f09c1e8..4c58774 100644 --- a/odb/header.cxx +++ b/odb/header.cxx @@ -91,7 +91,7 @@ traverse_object (type& c) // polymorphic, root_type, base_type, etc. // - os << "static const bool polymorphic = " << (poly ? "true" : "false") << ";" + os << "static const bool polymorphic = " << poly << ";" << endl; if (poly) @@ -176,7 +176,7 @@ traverse_object (type& c) } os << endl - << "static const bool auto_id = " << (auto_id ? "true;" : "false;"); + << "static const bool auto_id = " << auto_id << ";"; } os << endl; @@ -193,7 +193,7 @@ traverse_object (type& c) // abstract // - os << "static const bool abstract = " << (abst ? "true" : "false") << ";" + os << "static const bool abstract = " << abst << ";" << endl; // id () |