Skip to content

Commit

Permalink
Update cpp/src/Ice/CtrlCHandler.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Jose  <[email protected]>
  • Loading branch information
bernardnormier and pepone authored Jan 22, 2025
1 parent 73bd1af commit baa90f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/Ice/CtrlCHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CtrlCHandlerCallback
CtrlCHandler::setCallback(CtrlCHandlerCallback callback)
{
lock_guard lock(globalMutex);
CtrlCHandlerCallback oldCallback = _callback;
CtrlCHandlerCallback oldCallback = std::move(_callback);
_callback = std::move(callback);
return oldCallback;
}
Expand Down

0 comments on commit baa90f2

Please sign in to comment.