From 9332a731bf1502cdaf03499bef4aec619f8ad74b Mon Sep 17 00:00:00 2001 From: "Roger A. Light" Date: Thu, 15 Jan 2015 22:48:24 +0000 Subject: [PATCH] [452915] mosquittopp now has a virtual destructor. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=452915 --- ChangeLog.txt | 2 ++ lib/cpp/mosquittopp.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 1930ea12..f0d9c45b 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -68,6 +68,8 @@ Client library: retrying. - SRV support is now not compiled in by default. - Wildcard TLS certificates are now supported. +- mosquittopp now has a virtual destructor. Closes bug #452915. + 1.3.5 - 20141008 ================ diff --git a/lib/cpp/mosquittopp.h b/lib/cpp/mosquittopp.h index fbd845a5..9315a20f 100644 --- a/lib/cpp/mosquittopp.h +++ b/lib/cpp/mosquittopp.h @@ -53,7 +53,7 @@ class mosqpp_EXPORT mosquittopp { struct mosquitto *m_mosq; public: mosquittopp(const char *id=NULL, bool clean_session=true); - ~mosquittopp(); + virtual ~mosquittopp(); int reinitialise(const char *id, bool clean_session); int socket();