Fix assignment of temporary value to non-const reference.

This commit is contained in:
sephiroth99 2015-09-22 03:02:45 -04:00 committed by Ben Vanik
parent 08ae855e07
commit 8272beb8d2
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ std::vector<ThreadExecutionInfo*> Debugger::QueryThreadExecutionInfos() {
ThreadExecutionInfo* Debugger::QueryThreadExecutionInfo(
uint32_t thread_handle) {
auto global_lock = global_critical_region_.Acquire();
auto& it = thread_execution_infos_.find(thread_handle);
const auto& it = thread_execution_infos_.find(thread_handle);
if (it == thread_execution_infos_.end()) {
return nullptr;
}