From 8d3790d2178ab98105c70516b40e1b82e1c1045c Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Sun, 21 Feb 2010 14:28:54 +0000 Subject: [PATCH] - added missing virtual destructor to TestCase. --- src/test_lib_json/jsontest.cpp | 5 +++++ src/test_lib_json/jsontest.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/test_lib_json/jsontest.cpp b/src/test_lib_json/jsontest.cpp index dfd2b5c..a07d0fe 100644 --- a/src/test_lib_json/jsontest.cpp +++ b/src/test_lib_json/jsontest.cpp @@ -304,6 +304,11 @@ TestCase::TestCase() } +TestCase::~TestCase() +{ +} + + void TestCase::run( TestResult &result ) { diff --git a/src/test_lib_json/jsontest.h b/src/test_lib_json/jsontest.h index 7abba56..325b1d2 100644 --- a/src/test_lib_json/jsontest.h +++ b/src/test_lib_json/jsontest.h @@ -110,6 +110,8 @@ namespace JsonTest { public: TestCase(); + virtual ~TestCase(); + void run( TestResult &result ); virtual const char *testName() const = 0;