Index: syzygy/agent/asan/runtime.cc |
diff --git a/syzygy/agent/asan/runtime.cc b/syzygy/agent/asan/runtime.cc |
index 9eab017fa7918ec113050dd87a9f73d2b3205790..65e363df2806febf125a5ab16a1a1d0ce5fd6625 100644 |
--- a/syzygy/agent/asan/runtime.cc |
+++ b/syzygy/agent/asan/runtime.cc |
@@ -1072,7 +1072,7 @@ void AsanRuntime::AddThreadId(uint32_t thread_id) { |
bool AsanRuntime::ThreadIdIsValid(uint32_t thread_id) { |
base::AutoLock lock(thread_ids_lock_); |
- return thread_ids_.count(thread_id) > 0; |
+ return thread_ids_.find(thread_id) != thread_ids_.end(); |
} |
bool AsanRuntime::HeapIdIsValid(HeapManagerInterface::HeapId heap_id) { |