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:
@@ -18,6 +18,9 @@ struct stat;
|
|||||||
|
|
||||||
class BRefFilter {
|
class BRefFilter {
|
||||||
public:
|
public:
|
||||||
|
#if (GCC_VERSION >= 3000)
|
||||||
|
virtual ~BRefFilter() {};
|
||||||
|
#endif
|
||||||
virtual bool Filter(const entry_ref* ref, BNode* node,
|
virtual bool Filter(const entry_ref* ref, BNode* node,
|
||||||
struct stat* stat, const char* mimeType) = 0;
|
struct stat* stat, const char* mimeType) = 0;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user