Reverted previous commit. There are testrunner problems when the code is removed.

This commit is contained in:
Daniel Marjamäki 2011-11-19 15:14:45 +01:00
parent 5511f3fbfd
commit fc42fc956c
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ public:
{ } { }
virtual ~Check() { virtual ~Check() {
#if !defined(DJGPP) && !defined(__sun)
instances().remove(this);
#endif
} }
/** List of registered check classes. This is used by Cppcheck to run checks and generate documentation */ /** List of registered check classes. This is used by Cppcheck to run checks and generate documentation */