From 9e975191869650cda027563a6af1dfd51ff7656c Mon Sep 17 00:00:00 2001 From: Jan Osusky Date: Fri, 20 Oct 2017 13:48:19 +0200 Subject: [PATCH] Fix of compilation warning reported by GCC 4.9.3 'class vmime::net::messageSetEnumerator' has virtual functions and accessible non-virtual destructor --- src/vmime/net/messageSet.cpp | 5 +++++ src/vmime/net/messageSet.hpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/vmime/net/messageSet.cpp b/src/vmime/net/messageSet.cpp index e30ebc5c..0b3ea961 100644 --- a/src/vmime/net/messageSet.cpp +++ b/src/vmime/net/messageSet.cpp @@ -37,6 +37,11 @@ namespace vmime { namespace net { +// messageSetEnumerator + +messageSetEnumerator::~messageSetEnumerator() +{ +} // messageRange diff --git a/src/vmime/net/messageSet.hpp b/src/vmime/net/messageSet.hpp index 1be49761..9d6ca4f4 100644 --- a/src/vmime/net/messageSet.hpp +++ b/src/vmime/net/messageSet.hpp @@ -50,7 +50,7 @@ class UIDMessageRange; class VMIME_EXPORT messageSetEnumerator { public: - + virtual ~messageSetEnumerator(); virtual void enumerateNumberMessageRange(const numberMessageRange& range) = 0; virtual void enumerateUIDMessageRange(const UIDMessageRange& range) = 0; };