From f3f682c074117fda84bf51a4ce9a378d950a04de Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 30 Aug 2013 06:06:26 +0200 Subject: Statement processing/optimization base work --- odb/header.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'odb/header.cxx') 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 () -- cgit v1.1