diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-21 10:25:28 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-06-21 10:25:28 +0200 |
commit | 9465db62c36d98b40cfc1048dfdec571b93565e7 (patch) | |
tree | c9efd9957c36896d0a644d0cca95ae9250e09746 /cli/header.cxx | |
parent | c61f197baddcd2e048a106a2026c72cadc452bcd (diff) |
Make default constructor public for non-abstract classes
Diffstat (limited to 'cli/header.cxx')
-rw-r--r-- | cli/header.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cli/header.cxx b/cli/header.cxx index 60d6c6a..bfef712 100644 --- a/cli/header.cxx +++ b/cli/header.cxx @@ -159,6 +159,9 @@ namespace << um << " option = " << um << "::fail," << endl << um << " argument = " << um << "::stop);" << endl; + + os << name << " ();" + << endl; } // @@ -194,10 +197,11 @@ namespace << "//" << endl << "protected:" << endl; - // default c-tor + // default c-tor (abstract) // - os << name << " ();" - << endl; + if (abst) + os << name << " ();" + << endl; // fill () // |