Applied patch by Artur Wyszynski:

* Added virtual destructor to BRefFilter in case the GCC version is 3 or newer
  (can't do it for GCC 2.95.3, since that would break binary compatibility
  AFAIKT)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24986 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-04-16 20:11:54 +00:00
parent 6112fe9a8d
commit 261a29594b
+3
View File
@@ -18,6 +18,9 @@ struct stat;
class BRefFilter {
public:
#if (GCC_VERSION >= 3000)
virtual ~BRefFilter() {};
#endif
virtual bool Filter(const entry_ref* ref, BNode* node,
struct stat* stat, const char* mimeType) = 0;
};