From 1dde19ddbc5cfe6dcc9b101595f1c904bbaa9356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 19 Apr 2008 07:01:48 +0000 Subject: [PATCH] Fix the GCC version check for the virtual destructor. Thanks to Micheal for showing how to do it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25043 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/storage/FilePanel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/os/storage/FilePanel.h b/headers/os/storage/FilePanel.h index f6a0e34998..32c60b5bb4 100644 --- a/headers/os/storage/FilePanel.h +++ b/headers/os/storage/FilePanel.h @@ -18,7 +18,7 @@ struct stat; class BRefFilter { public: -#if (GCC_VERSION >= 3000) +#if __GNUC__ > 2 virtual ~BRefFilter() {}; #endif virtual bool Filter(const entry_ref* ref, BNode* node,