Commit fb239f0e authored by dmauro's avatar dmauro Committed by Derek Mauro
Browse files

Googletest export

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

PiperOrigin-RevId: 336930166
parent b55f834c
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment