diff options
author | Bernard Normier <bernard@zeroc.com> | 2019-11-03 12:33:04 -0500 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2023-11-22 12:12:45 -0500 |
commit | d7bbb42165b631d392713c292b19b954a634e577 (patch) | |
tree | 2f9fb7c6017f7f558000cabbc116ce345292cb6c | |
parent | Fixed the check in "Ice/binding" test for detecting the browser environment (diff) | |
download | ice-d7bbb42165b631d392713c292b19b954a634e577.tar.bz2 ice-d7bbb42165b631d392713c292b19b954a634e577.tar.xz ice-d7bbb42165b631d392713c292b19b954a634e577.zip |
Fixed typo in _makeLambdaOutgoing name
-rw-r--r-- | cpp/include/Ice/Proxy.h | 18 | ||||
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/cpp/include/Ice/Proxy.h b/cpp/include/Ice/Proxy.h index bc127b0716f..cc951c7b614 100644 --- a/cpp/include/Ice/Proxy.h +++ b/cpp/include/Ice/Proxy.h @@ -363,8 +363,8 @@ public: ::std::function<void(bool)> sent = nullptr, const ::Ice::Context& context = ::Ice::noExplicitContext) { - return _makeLamdaOutgoing<bool>(std::move(response), std::move(ex), std::move(sent), this, - &ObjectPrx::_iceI_isA, typeId, context); + return _makeLambdaOutgoing<bool>(std::move(response), std::move(ex), std::move(sent), this, + &ObjectPrx::_iceI_isA, typeId, context); } /** @@ -409,8 +409,8 @@ public: ::std::function<void(bool)> sent = nullptr, const ::Ice::Context& context = ::Ice::noExplicitContext) { - return _makeLamdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, - &ObjectPrx::_iceI_ping, context); + return _makeLambdaOutgoing<void>(std::move(response), std::move(ex), std::move(sent), this, + &ObjectPrx::_iceI_ping, context); } /** @@ -456,8 +456,8 @@ public: ::std::function<void(bool)> sent = nullptr, const ::Ice::Context& context = ::Ice::noExplicitContext) { - return _makeLamdaOutgoing<::std::vector<::std::string>>(std::move(response), std::move(ex), std::move(sent), - this, &ObjectPrx::_iceI_ids, context); + return _makeLambdaOutgoing<::std::vector<::std::string>>(std::move(response), std::move(ex), std::move(sent), + this, &ObjectPrx::_iceI_ids, context); } /** @@ -502,8 +502,8 @@ public: ::std::function<void(bool)> sent = nullptr, const ::Ice::Context& context = ::Ice::noExplicitContext) { - return _makeLamdaOutgoing<::std::string>(std::move(response), std::move(ex), std::move(sent), this, - &ObjectPrx::_iceI_id, context); + return _makeLambdaOutgoing<::std::string>(std::move(response), std::move(ex), std::move(sent), this, + &ObjectPrx::_iceI_id, context); } /** @@ -1147,7 +1147,7 @@ protected: } template<typename R, typename Re, typename E, typename S, typename Obj, typename Fn, typename... Args> - ::std::function<void()> _makeLamdaOutgoing(Re r, E e, S s, Obj obj, Fn fn, Args&&... args) + ::std::function<void()> _makeLambdaOutgoing(Re r, E e, S s, Obj obj, Fn fn, Args&&... args) { auto outAsync = ::std::make_shared<::IceInternal::LambdaOutgoing<R>>(shared_from_this(), std::move(r), std::move(e), std::move(s)); diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 3cf59d4dac4..3f02c535213 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -7252,7 +7252,7 @@ Slice::Gen::Cpp11ProxyVisitor::visitOperation(const OperationPtr& p) H << epar << ";" << eb << ";"; } - H << nl << "return _makeLamdaOutgoing<" << futureT << ">" << spar; + H << nl << "return _makeLambdaOutgoing<" << futureT << ">" << spar; H << "std::move(" + (futureOutParams.size() > 1 ? "_responseCb" : responseParam) + ")" << "std::move(" + exParam + ")" |