From 13eecb91091dbdb5a72ffd819f0665f3ef3e904d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 19 Nov 2011 14:44:55 +0100 Subject: [PATCH] Fixed #3329 (cppcheck core dump on Sun machine) --- lib/check.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/check.h b/lib/check.h index b438c79bf..ff11d8587 100644 --- a/lib/check.h +++ b/lib/check.h @@ -46,7 +46,7 @@ public: { } virtual ~Check() { -#ifndef DJGPP +#if !defined(DJGPP) && !defined(__sun) instances().remove(this); #endif }