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

Unified Diff: net/dns/dns_hosts.h

Issue 623383002: Align base::hash_map with C++11, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hash-1
Patch Set: clean up stale includes 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
« no previous file with comments | « mojo/edk/system/channel_endpoint_id.h ('k') | tools/gn/label.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/dns_hosts.h
diff --git a/net/dns/dns_hosts.h b/net/dns/dns_hosts.h
index 66161059f1222f72323acdaf0f1d19f3b485b5a3..8ee6d87ecb932df22e3c15b677310dcb7f9f5fa6 100644
--- a/net/dns/dns_hosts.h
+++ b/net/dns/dns_hosts.h
@@ -22,7 +22,6 @@ namespace net {
};
namespace BASE_HASH_NAMESPACE {
-#if defined(COMPILER_GCC)
template<>
struct hash<net::DnsHostsKey> {
@@ -32,14 +31,6 @@ struct hash<net::DnsHostsKey> {
}
};
-#elif defined(COMPILER_MSVC)
-
-inline size_t hash_value(const net::DnsHostsKey& key) {
- return hash_value(key.first) + key.second;
-}
-
-#endif // COMPILER
-
} // namespace BASE_HASH_NAMESPACE
namespace net {
« no previous file with comments | « mojo/edk/system/channel_endpoint_id.h ('k') | tools/gn/label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698