mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
Googletest export
Fix -Wmismatched-tags error with struct tuple_size vs class tuple_size PiperOrigin-RevId: 336930166
This commit is contained in:
parent
b55f834c57
commit
fb239f0e4c
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user