diff options
author | Yohei Yukawa <yukawa@google.com> | 2015-05-04 01:25:52 -0700 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2015-05-04 01:25:52 -0700 |
commit | cf9f603e8d5a5d88735a1f79f5afb21dbe7085c7 (patch) | |
tree | ed066c82a79d3898444422b9bc3ff57a6d0032e5 | |
parent | 16a283f7942be34eb47852832131dfef2d196f83 (diff) | |
download | protobuf-cf9f603e8d5a5d88735a1f79f5afb21dbe7085c7.tar.gz protobuf-cf9f603e8d5a5d88735a1f79f5afb21dbe7085c7.tar.bz2 protobuf-cf9f603e8d5a5d88735a1f79f5afb21dbe7085c7.zip |
Undef GOOGLE_PROTOBUF_MISSING_HASH after it is used.
This is a follow up CL for df184fba00acc7d4aa7b9d64693c53c815a64eda
(Id937e25bbb35968ee76c92bd4a8ce6247408c443), which added
#undef GOOGLE_PROTOBUF_MISSING_HASH
where GOOGLE_PROTOBUF_MISSING_HASH macro is never defined.
With this CL, GOOGLE_PROTOBUF_MISSING_HASH macro will be cleaned up
after it is used.
-rwxr-xr-x | src/google/protobuf/stubs/hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/stubs/hash.h b/src/google/protobuf/stubs/hash.h index 82d5052e..93211b72 100755 --- a/src/google/protobuf/stubs/hash.h +++ b/src/google/protobuf/stubs/hash.h @@ -53,6 +53,7 @@ namespace google { namespace protobuf { #ifdef GOOGLE_PROTOBUF_MISSING_HASH +#undef GOOGLE_PROTOBUF_MISSING_HASH // This system doesn't have hash_map or hash_set. Emulate them using map and // set. @@ -193,7 +194,6 @@ class hash_set hash_set(int = 0) {} }; -#undef GOOGLE_PROTOBUF_MISSING_HASH #endif // !GOOGLE_PROTOBUF_MISSING_HASH template <> |