Fix of compilation warning reported by GCC 4.9.3

'class vmime::net::messageSetEnumerator' has virtual functions and accessible non-virtual destructor
This commit is contained in:
Jan Osusky 2017-10-20 13:48:19 +02:00
parent eb5d9db693
commit 9e97519186
2 changed files with 6 additions and 1 deletions

View File

@ -37,6 +37,11 @@
namespace vmime { namespace vmime {
namespace net { namespace net {
// messageSetEnumerator
messageSetEnumerator::~messageSetEnumerator()
{
}
// messageRange // messageRange

View File

@ -50,7 +50,7 @@ class UIDMessageRange;
class VMIME_EXPORT messageSetEnumerator class VMIME_EXPORT messageSetEnumerator
{ {
public: public:
virtual ~messageSetEnumerator();
virtual void enumerateNumberMessageRange(const numberMessageRange& range) = 0; virtual void enumerateNumberMessageRange(const numberMessageRange& range) = 0;
virtual void enumerateUIDMessageRange(const UIDMessageRange& range) = 0; virtual void enumerateUIDMessageRange(const UIDMessageRange& range) = 0;
}; };