Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / base / strings / string_piece.h
index a051bc8..349018b 100644 (file)
@@ -439,7 +439,6 @@ BASE_EXPORT std::ostream& operator<<(std::ostream& o,
   return result;                                                        \
 
 namespace BASE_HASH_NAMESPACE {
-#if defined(COMPILER_GCC)
 
 template<>
 struct hash<base::StringPiece> {
@@ -454,17 +453,6 @@ struct hash<base::StringPiece16> {
   }
 };
 
-#elif defined(COMPILER_MSVC)
-
-inline size_t hash_value(const base::StringPiece& sp) {
-  HASH_STRING_PIECE(base::StringPiece, sp);
-}
-inline size_t hash_value(const base::StringPiece16& sp16) {
-  HASH_STRING_PIECE(base::StringPiece16, sp16);
-}
-
-#endif  // COMPILER
-
 }  // namespace BASE_HASH_NAMESPACE
 
 #endif  // BASE_STRINGS_STRING_PIECE_H_