diff options
author | jdduke <jdduke@chromium.org> | 2015-05-06 09:03:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-06 16:05:23 +0000 |
commit | a6b9dc8171f612b4e7d23c5b56fea71f9f77b364 (patch) | |
tree | 1867b706d97e3ccda04ea59312bf543f2752ad49 /tools/cygprofile/cygprofile.cc | |
parent | cf4a81913bc377473f3bfdf9fed67da3208ca79f (diff) | |
download | chromium_src-a6b9dc8171f612b4e7d23c5b56fea71f9f77b364.zip chromium_src-a6b9dc8171f612b4e7d23c5b56fea71f9f77b364.tar.gz chromium_src-a6b9dc8171f612b4e7d23c5b56fea71f9f77b364.tar.bz2 |
Fix cygprofile hash_set reference
Use base::hash_set instead of std::hash_set in cygprofile, ensuring
compatibility with libc++.
BUG=485083
Review URL: https://codereview.chromium.org/1129743004
Cr-Commit-Position: refs/heads/master@{#328545}
Diffstat (limited to 'tools/cygprofile/cygprofile.cc')
-rw-r--r-- | tools/cygprofile/cygprofile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cygprofile/cygprofile.cc b/tools/cygprofile/cygprofile.cc index 5d0e370..6588f68 100644 --- a/tools/cygprofile/cygprofile.cc +++ b/tools/cygprofile/cygprofile.cc @@ -205,7 +205,7 @@ void ThreadLog::AddEntry(void* address) { in_use_ = true; CHECK_EQ(tid_, GetTID()); - const std::pair<std::hash_set<void*>::iterator, bool> pair = + const std::pair<base::hash_set<void*>::iterator, bool> pair = called_functions_.insert(address); const bool did_insert = pair.second; |