From ca1c252923021306b7fbc488d33f6a6a89df59cf Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 27 May 2015 11:45:32 -0700 Subject: Fixes on visual studio 2008 --- src/google/protobuf/stubs/hash.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/google/protobuf/stubs/hash.h') diff --git a/src/google/protobuf/stubs/hash.h b/src/google/protobuf/stubs/hash.h index ee3c63fe..4da8a5d8 100755 --- a/src/google/protobuf/stubs/hash.h +++ b/src/google/protobuf/stubs/hash.h @@ -112,7 +112,7 @@ class hash_set : public std::set { #elif defined(_MSC_VER) && !defined(_STLPORT_VERSION) template -struct hash : public GOOGLE_PROTOBUF_HASH_NAMESPACE::hash_compare { +struct hash : public GOOGLE_PROTOBUF_HASH_COMPARE { }; // MSVC's hash_compare hashes based on the string contents but @@ -126,8 +126,7 @@ class CstringLess { template <> struct hash - : public GOOGLE_PROTOBUF_HASH_NAMESPACE::hash_compare< - const char*, CstringLess> {}; + : public GOOGLE_PROTOBUF_HASH_COMPARE {}; template , -- cgit v1.2.3