diff options
author | Richard Linden <none@none> | 2010-08-12 10:10:09 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-08-12 10:10:09 -0700 |
commit | 73952a37ed7a11331154f2f68050286722ec96da (patch) | |
tree | 7ce6c9f6d0c3f6b0e85efc57736340106329beb4 /indra/newview/llmediadataclient.cpp | |
parent | e16c1f6fdd300f284f0b39b76b4e82f7366b5cdb (diff) | |
parent | 402e2a181831d30a6a2586fd4b0641ba66da99be (diff) |
Automated merge with http://10.1.4.28:8000/
Diffstat (limited to 'indra/newview/llmediadataclient.cpp')
-rwxr-xr-x | indra/newview/llmediadataclient.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llmediadataclient.cpp b/indra/newview/llmediadataclient.cpp index 1de9d1c9b0..075f0ba3ec 100755 --- a/indra/newview/llmediadataclient.cpp +++ b/indra/newview/llmediadataclient.cpp @@ -263,15 +263,15 @@ void LLMediaDataClient::pushBack(request_ptr_t request) void LLMediaDataClient::trackRequest(request_ptr_t request) { - request_set_t::iterator iter = mUnQueuedRequests.lower_bound(request); + request_set_t::iterator iter = mUnQueuedRequests.find(request); - if(*iter == request) + if(iter != mUnQueuedRequests.end()) { LL_WARNS("LLMediaDataClient") << "Tracking already tracked request: " << *request << LL_ENDL; } else { - mUnQueuedRequests.insert(iter, request); + mUnQueuedRequests.insert(request); } } @@ -279,7 +279,7 @@ void LLMediaDataClient::stopTrackingRequest(request_ptr_t request) { request_set_t::iterator iter = mUnQueuedRequests.find(request); - if(*iter == request) + if (iter != mUnQueuedRequests.end()) { mUnQueuedRequests.erase(iter); } |