summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 1dba1dc60ae..0489018e9d9 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -2178,9 +2178,10 @@ Slice::Gen::ObjectVisitor::visitClassDefStart(const ClassDefPtr& p)
C << eb << ';';
C << sp;
- C << nl << "bool" << nl << scoped.substr(2) << "::ice_isA(const ::std::string& s, const ::Ice::Current&) const";
+ C << nl << "bool" << nl << scoped.substr(2)
+ << "::ice_isA(const ::std::string& _s, const ::Ice::Current&) const";
C << sb;
- C << nl << "return ::std::binary_search(__ids, __ids + " << ids.size() << ", s);";
+ C << nl << "return ::std::binary_search(__ids, __ids + " << ids.size() << ", _s);";
C << eb;
C << sp;