mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Builds almost completely cleanly with -WEverything in LLVM
This commit is contained in:
		| @@ -19,6 +19,7 @@ namespace Catch { | ||||
|     class TestRegistry : public ITestCaseRegistry { | ||||
|     public: | ||||
|         TestRegistry() : m_unnamedCount( 0 ) {} | ||||
|         virtual ~TestRegistry(); | ||||
|          | ||||
|         virtual void registerTest( const TestCaseInfo& testInfo ) { | ||||
|             if( testInfo.getName() == "" ) { | ||||
| @@ -71,6 +72,7 @@ namespace Catch { | ||||
|     public: | ||||
|  | ||||
|         FreeFunctionTestCase( TestFunction fun ) : m_fun( fun ) {} | ||||
|         virtual ~FreeFunctionTestCase(); | ||||
|          | ||||
|         virtual void invoke() const { | ||||
|             m_fun(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash