diff options
Diffstat (limited to 'cpp/src/Ice/Connection.cpp')
-rw-r--r-- | cpp/src/Ice/Connection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Connection.cpp b/cpp/src/Ice/Connection.cpp index 21a74876acd..c26a7258c03 100644 --- a/cpp/src/Ice/Connection.cpp +++ b/cpp/src/Ice/Connection.cpp @@ -449,7 +449,7 @@ IceInternal::Connection::sendRequest(Outgoing* out, bool oneway) // if(!_endpoint->datagram() && !oneway) { - _requestsHint = _requests.insert(_requests.end(), make_pair(requestId, out)); + _requestsHint = _requests.insert(_requests.end(), pair<const Int, Outgoing*>(requestId, out)); } if(_acmTimeout > 0) @@ -547,7 +547,7 @@ IceInternal::Connection::sendAsyncRequest(const OutgoingAsyncPtr& out) // // Only add to the request map if there was no exception. // - _asyncRequestsHint = _asyncRequests.insert(_asyncRequests.end(), make_pair(requestId, out)); + _asyncRequestsHint = _asyncRequests.insert(_asyncRequests.end(), pair<const Int, OutgoingAsyncPtr>(requestId, out)); if(_acmTimeout > 0) { |