diff --git a/src/xenia/debug/debugger.cc b/src/xenia/debug/debugger.cc index 8a773150a..6cb8e280e 100644 --- a/src/xenia/debug/debugger.cc +++ b/src/xenia/debug/debugger.cc @@ -183,7 +183,7 @@ std::vector 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; }