Skip to content

Commit

Permalink
Fixed typo in _makeLambdaOutgoing name
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier authored and externl committed Nov 22, 2023
1 parent 0d8c494 commit d7bbb42
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions cpp/include/Ice/Proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ class ICE_API ObjectPrx : public ::std::enable_shared_from_this<ObjectPrx>
::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);
}

/**
Expand Down Expand Up @@ -409,8 +409,8 @@ class ICE_API ObjectPrx : public ::std::enable_shared_from_this<ObjectPrx>
::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);
}

/**
Expand Down Expand Up @@ -456,8 +456,8 @@ class ICE_API ObjectPrx : public ::std::enable_shared_from_this<ObjectPrx>
::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);
}

/**
Expand Down Expand Up @@ -502,8 +502,8 @@ class ICE_API ObjectPrx : public ::std::enable_shared_from_this<ObjectPrx>
::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);
}

/**
Expand Down Expand Up @@ -1147,7 +1147,7 @@ class ICE_API ObjectPrx : public ::std::enable_shared_from_this<ObjectPrx>
}

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));
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/slice2cpp/Gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 + ")"
Expand Down

0 comments on commit d7bbb42

Please sign in to comment.