summaryrefslogtreecommitdiff
path: root/cli/header.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/header.cxx')
-rw-r--r--cli/header.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/cli/header.cxx b/cli/header.cxx
index b06c2bf..2749b6d 100644
--- a/cli/header.cxx
+++ b/cli/header.cxx
@@ -22,6 +22,11 @@ namespace
os << "const " << type << "&" << endl
<< name << " () const;"
<< endl;
+
+ if (modifier)
+ os << "void" << endl
+ << name << " (const " << type << "&);"
+ << endl;
}
};
@@ -98,7 +103,7 @@ namespace
//
//
- os << "// Option accessors." << endl
+ os << "// Option accessors" << (modifier ? " and modifiers." : ".") << endl
<< "//" << endl
<< endl;