From 9bf40e4a91f6a792c3279d9184b67451cf58bf49 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 9 Dec 2015 18:02:40 +0200 Subject: Add --std option with c++{98,11,14} values; use function-static in C++11 This way we can use option descriptions during static initialization (e.g., of an Apache module). --- cli/header.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/header.cxx') diff --git a/cli/header.cxx b/cli/header.cxx index d5ab674..e2aebd4 100644 --- a/cli/header.cxx +++ b/cli/header.cxx @@ -231,7 +231,7 @@ namespace // fill () // if (options.generate_description ()) - os << "friend struct _cli_" + name + "_desc_init;" + os << "friend struct _cli_" + name + "_desc_type;" << endl << "static void" << endl << "fill (" << cli << "::options&);" -- cgit v1.1