Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1739)

Unified Diff: base/debug/trace_event_impl.h

Issue 612323010: Align base::hash_map with C++11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try a different tack for C++ insanity Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/debug/trace_event_impl.h
diff --git a/base/debug/trace_event_impl.h b/base/debug/trace_event_impl.h
index f91554112257b0808186d77b6abb47cbb2a381b8..bac74e3f39f6bd0e512a142c1f876c2a7d9849af 100644
--- a/base/debug/trace_event_impl.h
+++ b/base/debug/trace_event_impl.h
@@ -45,17 +45,6 @@
template <typename Type>
struct DefaultSingletonTraits;
-#if defined(COMPILER_GCC)
-namespace BASE_HASH_NAMESPACE {
-template <>
-struct hash<base::MessageLoop*> {
- std::size_t operator()(base::MessageLoop* value) const {
- return reinterpret_cast<std::size_t>(value);
- }
-};
-} // BASE_HASH_NAMESPACE
-#endif
-
namespace base {
class WaitableEvent;

Powered by Google App Engine
This is Rietveld 408576698