summaryrefslogtreecommitdiff
path: root/cli/inline.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cli/inline.cxx')
-rw-r--r--cli/inline.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/cli/inline.cxx b/cli/inline.cxx
index 23a87ff..a4db1da 100644
--- a/cli/inline.cxx
+++ b/cli/inline.cxx
@@ -23,8 +23,15 @@ namespace
os << inl << "const " << type << "& " << scope << "::" << endl
<< name << " () const"
<< "{"
- << "return " << emember (o) << ";"
+ << "return this->" << emember (o) << ";"
<< "}";
+
+ if (modifier)
+ os << inl << "void " << scope << "::" << endl
+ << name << "(const " << type << "& x)"
+ << "{"
+ << "this->" << emember (o) << " = x;"
+ << "}";
}
};