diff options
| author | Phil Nash | 2017-04-25 12:40:52 +0100 |
|---|---|---|
| committer | Phil Nash | 2017-04-25 12:40:52 +0100 |
| commit | 79650e44f47f39e9fa3a70d1c713f95069a0ba8f (patch) | |
| tree | 3615e719f6b0c06d628a2b04c39901cfc70b369e /projects/SelfTest/ToStringVector.cpp | |
| parent | 5c8ea03cc85a750d4d8fdd9da1ef02f645a17cac (diff) | |
| download | catch3-79650e44f47f39e9fa3a70d1c713f95069a0ba8f.tar.gz | |
Removed more C++98/03 compatibility
Diffstat (limited to 'projects/SelfTest/ToStringVector.cpp')
| -rw-r--r-- | projects/SelfTest/ToStringVector.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/projects/SelfTest/ToStringVector.cpp b/projects/SelfTest/ToStringVector.cpp index cd071a9d..002d8ef4 100644 --- a/projects/SelfTest/ToStringVector.cpp +++ b/projects/SelfTest/ToStringVector.cpp @@ -23,16 +23,6 @@ TEST_CASE( "vector<string> -> toString", "[toString][vector]" ) REQUIRE( Catch::toString(vv) == "{ \"hello\", \"world\" }" ); } -#if defined(CATCH_CPP11_OR_GREATER) -#ifdef __clang__ -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wc++98-compat" -#endif - -/* - Note: These tests *can* be made to work with C++ < 11, but the - allocator is a lot more work... -*/ namespace { /* Minimal Allocator */ template<typename T> @@ -70,8 +60,3 @@ TEST_CASE( "vec<vec<string,alloc>> -> toString", "[toString][vector,allocator][c v.push_back( inner { "world" } ); REQUIRE( Catch::toString(v) == "{ { \"hello\" }, { \"world\" } }" ); } - -#ifdef __clang__ -#pragma clang diagnostic pop -#endif -#endif // CATCH_CPP11_OR_GREATER |