diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-18 15:15:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-18 15:15:05 +0200 |
commit | 64ed039a66d357ca731d50313e811ba69f5873c9 (patch) | |
tree | 72378e348aed9467d688a2550da58c8a0829b5d0 /cli | |
parent | b1b740bc9ab2188d03d1cc414b4d374df5b85036 (diff) |
Use consistent const placement
Diffstat (limited to 'cli')
-rw-r--r-- | cli/header.cxx | 2 | ||||
-rw-r--r-- | cli/inline.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cli/header.cxx b/cli/header.cxx index 8033b7f..9662d3e 100644 --- a/cli/header.cxx +++ b/cli/header.cxx @@ -19,7 +19,7 @@ namespace string name (ename (o)); string type (o.type ().name ()); - os << type << " const&" << endl + os << "const " << type << "&" << endl << name << " () const;" << endl; } diff --git a/cli/inline.cxx b/cli/inline.cxx index 86c0ddb..23a87ff 100644 --- a/cli/inline.cxx +++ b/cli/inline.cxx @@ -20,7 +20,7 @@ namespace string type (o.type ().name ()); string scope (escape (o.scope ().name ())); - os << inl << type << " const& " << scope << "::" << endl + os << inl << "const " << type << "& " << scope << "::" << endl << name << " () const" << "{" << "return " << emember (o) << ";" |