Skip to content

Commit

Permalink
Fix assignment of temporary value to non-const reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
sephiroth99 authored and benvanik committed Sep 22, 2015
1 parent 08ae855 commit 8272beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xenia/debug/debugger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8272beb

Please sign in to comment.