summaryrefslogtreecommitdiff
path: root/cli/header.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-09 18:02:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-09 18:02:40 +0200
commit9bf40e4a91f6a792c3279d9184b67451cf58bf49 (patch)
treea242a923ec7d309dc488c60f1233fbc91fcbae70 /cli/header.cxx
parentbd21176187a55fa7f6e80b5cfe86f5e756971b4f (diff)
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).
Diffstat (limited to 'cli/header.cxx')
-rw-r--r--cli/header.cxx2
1 files changed, 1 insertions, 1 deletions
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&);"