From 443293aaf09eca7c3b88d621d056c4effee2c248 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 May 2012 17:54:18 +0200 Subject: Implement option class inheritance For now multiple, non-virtual inheritance is supported. An option class can now also be declared abstract using the class c = 0 {...}; syntax. New option, --exclude-base, controls whether base class information is present in usage and documentation. --- cli/runtime-header.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/runtime-header.cxx') diff --git a/cli/runtime-header.cxx b/cli/runtime-header.cxx index a1cf114..f0b3cc1 100644 --- a/cli/runtime-header.cxx +++ b/cli/runtime-header.cxx @@ -364,7 +364,7 @@ generate_runtime_header (context& ctx) << "bool flag," << endl << "const std::string& default_value);" << endl - << "private:" + << "private:" << endl << "std::string name_;" << "option_names aliases_;" << "bool flag_;" @@ -381,7 +381,7 @@ generate_runtime_header (context& ctx) << endl << "void" << endl << "push_back (const option&);" - << "private:" + << "private:" << endl << "typedef std::map map_type;" << "map_type map_;" << "};"; -- cgit v1.1