diff options
| author | Steve M. Robbins <smr@sumost.ca> | 2007-01-12 04:52:49 +0000 |
|---|---|---|
| committer | Steve M. Robbins <smr@sumost.ca> | 2007-01-12 04:52:49 +0000 |
| commit | f3c96127c3603c7f28f76b8996444c7d56c65dee (patch) | |
| tree | b5ae09c625517272459aceb87caf55a1b194b3c8 /include/cppunit/plugin | |
| parent | b112c6d9ec9d7313d3befb6f20f55bacaa546149 (diff) | |
| download | cppunit-f3c96127c3603c7f28f76b8996444c7d56c65dee.tar.gz | |
Ensure virtual class has virtual destructor.
Diffstat (limited to 'include/cppunit/plugin')
| -rw-r--r-- | include/cppunit/plugin/TestPlugIn.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cppunit/plugin/TestPlugIn.h b/include/cppunit/plugin/TestPlugIn.h index 5692fa3..1c9b929 100644 --- a/include/cppunit/plugin/TestPlugIn.h +++ b/include/cppunit/plugin/TestPlugIn.h @@ -92,6 +92,8 @@ struct CppUnitTestPlugIn * unregistered. */ virtual void uninitialize( CPPUNIT_NS::TestFactoryRegistry *registry ) =0; + + virtual ~CppUnitTestPlugIn() {} }; |
