Fix assignment of temporary value to non-const reference.
This commit is contained in:
parent
08ae855e07
commit
8272beb8d2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue