summaryrefslogtreecommitdiff
path: root/cli/inline.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/inline.cxx')
-rw-r--r--cli/inline.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/inline.cxx b/cli/inline.cxx
index 0638f30..bb54962 100644
--- a/cli/inline.cxx
+++ b/cli/inline.cxx
@@ -27,11 +27,19 @@ namespace
<< "}";
if (modifier)
+ {
+ os << inl << type << "& " << scope << "::" << endl
+ << name << " ()"
+ << "{"
+ << "return this->" << emember (o) << ";"
+ << "}";
+
os << inl << "void " << scope << "::" << endl
<< name << "(const " << type << "& x)"
<< "{"
<< "this->" << emember (o) << " = x;"
<< "}";
+ }
if (specifier && type != "bool")
{