Index: tools/gn/label.h |
diff --git a/tools/gn/label.h b/tools/gn/label.h |
index 1028b3088c85f2c38141d173a17f9e62b2301684..9afe16b508830b18c0a0e2210253c528e52577a7 100644 |
--- a/tools/gn/label.h |
+++ b/tools/gn/label.h |
@@ -107,7 +107,6 @@ class Label { |
namespace BASE_HASH_NAMESPACE { |
-#if defined(COMPILER_GCC) |
template<> struct hash<Label> { |
std::size_t operator()(const Label& v) const { |
hash<std::string> stringhash; |
@@ -117,14 +116,6 @@ template<> struct hash<Label> { |
stringhash(v.toolchain_name()); |
} |
}; |
-#elif defined(COMPILER_MSVC) |
-inline size_t hash_value(const Label& v) { |
- return ((hash_value(v.dir().value()) * 131 + |
- hash_value(v.name())) * 131 + |
- hash_value(v.toolchain_dir().value())) * 131 + |
- hash_value(v.toolchain_name()); |
-} |
-#endif // COMPILER... |
} // namespace BASE_HASH_NAMESPACE |