diff options
author | Jose <jose@zeroc.com> | 2015-12-10 10:06:12 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-12-10 10:06:12 +0100 |
commit | bbde2ba93a56bb6adf4d06ecb2f0f5ca04eb308d (patch) | |
tree | f0e9a5eb9287fb92a53a02ab34fa19b6325cc4a4 /cpp/src/slice2cpp/Gen.cpp | |
parent | C++11 mapping server side input parameter fixes (diff) | |
download | ice-bbde2ba93a56bb6adf4d06ecb2f0f5ca04eb308d.tar.bz2 ice-bbde2ba93a56bb6adf4d06ecb2f0f5ca04eb308d.tar.xz ice-bbde2ba93a56bb6adf4d06ecb2f0f5ca04eb308d.zip |
C++11 mapping server side input parameter fixes
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 8e598e882a9..217ab73cd61 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -7874,7 +7874,7 @@ Slice::Gen::Cpp11InterfaceVisitor::visitClassDefStart(const ClassDefPtr& p) H << sp; H << nl << "virtual bool ice_isA" - << "(const ::std::string&, const ::Ice::Current& = ::Ice::Current()) const;"; + << "(::std::string, const ::Ice::Current& = ::Ice::Current()) const;"; H << nl << "virtual ::std::vector< ::std::string> ice_ids" << "(const ::Ice::Current& = ::Ice::Current()) const;"; H << nl << "virtual const ::std::string& ice_id(const ::Ice::Current& = ::Ice::Current()) const;"; @@ -7901,7 +7901,7 @@ Slice::Gen::Cpp11InterfaceVisitor::visitClassDefStart(const ClassDefPtr& p) C << sp; C << nl << "bool" << nl << scoped.substr(2) - << "::ice_isA(const ::std::string& _s, const ::Ice::Current&) const"; + << "::ice_isA(::std::string _s, const ::Ice::Current&) const"; C << sb; C << nl << "return ::std::binary_search(" << flatName << ", " << flatName << " + " << ids.size() << ", _s);"; C << eb; |