diff --git a/headers/os/storage/FilePanel.h b/headers/os/storage/FilePanel.h index f65fa296c4..f6a0e34998 100644 --- a/headers/os/storage/FilePanel.h +++ b/headers/os/storage/FilePanel.h @@ -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; };