Googletest export

Fix -Wmismatched-tags error with struct tuple_size vs class tuple_size

PiperOrigin-RevId: 336930166
This commit is contained in:
dmauro 2020-10-13 15:23:57 -04:00 committed by Derek Mauro
parent b55f834c57
commit fb239f0e4c

View File

@ -1325,8 +1325,8 @@ constexpr bool InstantiateTypedTestCase_P_IsDeprecated() { return true; }
namespace std {
template <typename... Ts>
struct tuple_size<testing::internal::FlatTuple<Ts...>>
: std::integral_constant<size_t, sizeof...(Ts)> {};
class tuple_size<testing::internal::FlatTuple<Ts...>>
: public std::integral_constant<size_t, sizeof...(Ts)> {};
} // namespace std