From a624bc872c74e9b7233a583028d3e71fd17ea446 Mon Sep 17 00:00:00 2001 From: theirix Date: Wed, 18 Apr 2018 15:46:46 +0300 Subject: [PATCH] Added virtual dtor to OutBuffer --- include/amqpcpp/outbuffer.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/amqpcpp/outbuffer.h b/include/amqpcpp/outbuffer.h index 05157bd..f2e7863 100644 --- a/include/amqpcpp/outbuffer.h +++ b/include/amqpcpp/outbuffer.h @@ -38,6 +38,13 @@ protected: virtual void append(const void *data, size_t size) = 0; public: + /** + * Destructor + */ + virtual ~OutBuffer() + { + } + /** * Add a binary buffer to the buffer * @param string char* to the string