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
This commit is contained in:
Stephan Aßmus 2008-04-19 07:01:48 +00:00
parent aa2d1d44f6
commit 1dde19ddbc

View File

@ -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,