From 5511f3fbfdcf567895a3037164f54e3d892e0a2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 19 Nov 2011 14:50:04 +0100 Subject: [PATCH] removed cleanup code that will crash in some environments. it's somewhat redundant. --- lib/check.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/check.h b/lib/check.h index ff11d8587..9272de28c 100644 --- a/lib/check.h +++ b/lib/check.h @@ -46,9 +46,6 @@ 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 */