Index: chrome/browser/sync_file_system/drive_backend/metadata_database_index.h |
diff --git a/chrome/browser/sync_file_system/drive_backend/metadata_database_index.h b/chrome/browser/sync_file_system/drive_backend/metadata_database_index.h |
index 9c80060d8fe7cda7a9b1a589566e6fbd4d8520ac..2eca8cae4e988eadc3daca7422a9fbd8ce1faa59 100644 |
--- a/chrome/browser/sync_file_system/drive_backend/metadata_database_index.h |
+++ b/chrome/browser/sync_file_system/drive_backend/metadata_database_index.h |
@@ -29,19 +29,12 @@ class ServiceMetadata; |
namespace BASE_HASH_NAMESPACE { |
-#if defined(COMPILER_GCC) |
template<> struct hash<sync_file_system::drive_backend::ParentIDAndTitle> { |
std::size_t operator()( |
const sync_file_system::drive_backend::ParentIDAndTitle& v) const { |
return base::HashInts64(v.parent_id, hash<std::string>()(v.title)); |
} |
}; |
-#elif defined(COMPILER_MSVC) |
-inline size_t hash_value( |
- const sync_file_system::drive_backend::ParentIDAndTitle& v) { |
- return base::HashInts64(v.parent_id, hash_value(v.title)); |
-} |
-#endif // COMPILER |
} // namespace BASE_HASH_NAMESPACE |