Commit fb239f0e by dmauro Committed by Derek Mauro

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