From 64ed039a66d357ca731d50313e811ba69f5873c9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 18 Oct 2009 15:15:05 +0200 Subject: Use consistent const placement --- cli/header.cxx | 2 +- cli/inline.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cli') 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) << ";" -- cgit v1.1