From 7ad2c91997fe026fb9733f83720949bff5a7f57f Mon Sep 17 00:00:00 2001 From: Christopher Dykes Date: Thu, 11 Aug 2016 12:43:44 -0700 Subject: [PATCH] Eliminate accidental trigraph in FBString Summary: `<::` is a trigraph, which, although removed in C++17, MSVC still warns about the sequences (although it doesn't actually intepret them as trigraphs) Reviewed By: yfeldblum Differential Revision: D3704382 fbshipit-source-id: b093f854343db01bc166b1cc44763676fdd97a51 --- folly/FBString.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/FBString.h b/folly/FBString.h index 077d1be9..8d6f19c2 100644 --- a/folly/FBString.h +++ b/folly/FBString.h @@ -2441,7 +2441,7 @@ _GLIBCXX_END_NAMESPACE_VERSION #define FOLLY_FBSTRING_HASH1(T) \ template <> \ - struct hash<::folly::basic_fbstring> { \ + struct hash< ::folly::basic_fbstring> { \ size_t operator()(const ::folly::basic_fbstring& s) const { \ return ::folly::hash::fnv32_buf(s.data(), s.size() * sizeof(T)); \ } \ -- 2.34.1