Fixed an issue on some compilers with implicit conversion from nullptr to Ptr

- also cleaned up some warnings to do with CATCH_NULL
This commit is contained in:
Phil Nash 2015-07-03 18:27:36 +01:00
parent 62e517f833
commit d6f1446e4e
6 changed files with 13 additions and 5 deletions

View file

@ -9,6 +9,9 @@
#include "catch.hpp"
#include "catch_test_spec_parser.hpp"
#ifdef __clang__
# pragma clang diagnostic ignored "-Wc++98-compat"
#endif
inline Catch::TestCase fakeTestCase( const char* name, const char* desc = "" ){ return Catch::makeTestCase( CATCH_NULL, "", name, desc, CATCH_INTERNAL_LINEINFO ); }