Added virtual constructor to TEST_UNSAFE to pacify warnings

release/4.3a0
Alex Cunningham 2011-09-22 15:12:34 +00:00
parent 48ffb6aca9
commit 054a534f1c
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ protected:
#define TEST_UNSAFE(testName, testGroup)\
class testGroup##testName##Test : public Test \
{ public: testGroup##testName##Test () : Test (#testName "Test", __FILE__, __LINE__, false) {} \
virtual ~testGroup##testName##Test () {};\
void run (TestResult& result_);} \
testGroup##testName##Instance; \
void testGroup##testName##Test::run (TestResult& result_)