From fc42fc956c227c0838cc6dbb4b97eea98e8ede2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 19 Nov 2011 15:14:45 +0100 Subject: [PATCH] Reverted previous commit. There are testrunner problems when the code is removed. --- lib/check.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/check.h b/lib/check.h index 9272de28c..ff11d8587 100644 --- a/lib/check.h +++ b/lib/check.h @@ -46,6 +46,9 @@ public: { } 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 */