mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-23 13:09:28 +00:00
Removed some more warnings
This commit is contained in:
parent
2946c1988c
commit
bfa3f863d6
2 changed files with 12 additions and 1 deletions
|
@ -2,6 +2,11 @@
|
|||
|
||||
#ifdef CATCH_CPP11_OR_GREATER
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wc++98-compat"
|
||||
#endif
|
||||
|
||||
TEST_CASE( "tuple<>", "[toString][tuple]" )
|
||||
{
|
||||
typedef std::tuple<> type;
|
||||
|
@ -44,5 +49,9 @@ TEST_CASE( "tuple<nullptr,int,const char *>", "[toString][tuple]" )
|
|||
CHECK( "{ nullptr, 42, \"Catch me\" }" == Catch::toString(value) );
|
||||
}
|
||||
|
||||
#ifdef __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif /* #ifdef CATCH_CPP11_OR_GREATER */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue