Index: base/files/file_path.h |
diff --git a/base/files/file_path.h b/base/files/file_path.h |
index 008b9f5afc67d83db10decbcc9447723da40fbdd..ad42b9549275c706b677e78ecc49531c680a4dd9 100644 |
--- a/base/files/file_path.h |
+++ b/base/files/file_path.h |
@@ -107,7 +107,6 @@ |
#include <vector> |
#include "base/base_export.h" |
-#include "base/compiler_specific.h" |
#include "base/containers/hash_tables.h" |
#include "base/strings/string16.h" |
#include "base/strings/string_piece.h" // For implicit conversions. |
@@ -453,7 +452,6 @@ BASE_EXPORT extern void PrintTo(const base::FilePath& path, std::ostream* out); |
// Provide a hash function so that hash_sets and maps can contain FilePath |
// objects. |
namespace BASE_HASH_NAMESPACE { |
-#if defined(COMPILER_GCC) |
template<> |
struct hash<base::FilePath> { |
@@ -462,14 +460,6 @@ struct hash<base::FilePath> { |
} |
}; |
-#elif defined(COMPILER_MSVC) |
- |
-inline size_t hash_value(const base::FilePath& f) { |
- return hash_value(f.value()); |
-} |
- |
-#endif // COMPILER |
- |
} // namespace BASE_HASH_NAMESPACE |
#endif // BASE_FILES_FILE_PATH_H_ |