From: <man...@us...> - 2015-04-30 12:49:13
|
Revision: 5025 http://sourceforge.net/p/modplug/code/5025 Author: manxorist Date: 2015-04-30 12:49:08 +0000 (Thu, 30 Apr 2015) Log Message: ----------- [Ref] Silence stupid non-virtual destructor warnings with older GCC. Modified Paths: -------------- trunk/OpenMPT/common/Logging.h trunk/OpenMPT/soundlib/Sndfile.h Modified: trunk/OpenMPT/common/Logging.h =================================================================== --- trunk/OpenMPT/common/Logging.h 2015-04-30 11:24:53 UTC (rev 5024) +++ trunk/OpenMPT/common/Logging.h 2015-04-30 12:49:08 UTC (rev 5025) @@ -39,6 +39,8 @@ class ILog { +protected: + virtual ~ILog() { } public: virtual void AddToLog(LogLevel level, const mpt::ustring &text) const = 0; }; Modified: trunk/OpenMPT/soundlib/Sndfile.h =================================================================== --- trunk/OpenMPT/soundlib/Sndfile.h 2015-04-30 11:24:53 UTC (rev 5024) +++ trunk/OpenMPT/soundlib/Sndfile.h 2015-04-30 12:49:08 UTC (rev 5025) @@ -268,6 +268,8 @@ class IAudioReadTarget { +protected: + virtual ~IAudioReadTarget() { } public: virtual void DataCallback(int *MixSoundBuffer, std::size_t channels, std::size_t countChunk) = 0; }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |