diff options
author | Mark Spruiell <mes@zeroc.com> | 2003-05-23 19:17:47 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2003-05-23 19:17:47 +0000 |
commit | d155a4589cbf3c74cdff68cf0728652a2143368b (patch) | |
tree | 933783f77c4893172e6fd93a5631907ffe81ae4a /cpp/src | |
parent | catch ObjectNotExistException (diff) | |
download | ice-d155a4589cbf3c74cdff68cf0728652a2143368b.tar.bz2 ice-d155a4589cbf3c74cdff68cf0728652a2143368b.tar.xz ice-d155a4589cbf3c74cdff68cf0728652a2143368b.zip |
change ice_isA arg name from s to _s to avoid SunCC warning
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 5 |
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; |