diff --git a/Code/Mantid/Framework/API/inc/MantidAPI/IFileLoader.h b/Code/Mantid/Framework/API/inc/MantidAPI/IFileLoader.h index 65ae5d0bed0aef59eaf3f883dd0c24b950d24310..99a7d276f3d00d923b92e1a522a4b37dfe7bd12b 100644 --- a/Code/Mantid/Framework/API/inc/MantidAPI/IFileLoader.h +++ b/Code/Mantid/Framework/API/inc/MantidAPI/IFileLoader.h @@ -36,6 +36,8 @@ namespace Mantid class MANTID_API_DLL IFileLoader : public Algorithm { public: + /// Virtual destructor (required by linker on some versions of OS X/Intel compiler) + virtual ~IFileLoader() {} /// Returns a confidence value that this algorithm can load a file virtual int confidence(Kernel::FileDescriptor & descriptor) const = 0; }; diff --git a/Code/Mantid/Framework/API/inc/MantidAPI/IHDFFileLoader.h b/Code/Mantid/Framework/API/inc/MantidAPI/IHDFFileLoader.h index 368eb120f171f6e184bdd1fc743bc54a9dc64342..7d5237cc220e38259fbecfd5637170dea216f093 100644 --- a/Code/Mantid/Framework/API/inc/MantidAPI/IHDFFileLoader.h +++ b/Code/Mantid/Framework/API/inc/MantidAPI/IHDFFileLoader.h @@ -36,6 +36,8 @@ namespace Mantid class DLLExport IHDFFileLoader : public API::Algorithm { public: + /// Virtual destructor (required by linker on some versions of OS X/Intel compiler) + virtual ~IHDFFileLoader() {} /// Returns a confidence value that this algorithm can load a file virtual int confidence(Kernel::HDFDescriptor & descriptor) const = 0; };