From c6ecad2dba4a6a865b623a6ca7053a407616e87a Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 12 Mar 2013 13:50:50 +0000 Subject: QPID-4641: C++ build errors re virtual functions but non-virtual destructor git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1455529 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/ha/Role.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp') diff --git a/cpp/src/qpid/ha/Role.h b/cpp/src/qpid/ha/Role.h index 9d6f7cd123..9986fde7e1 100644 --- a/cpp/src/qpid/ha/Role.h +++ b/cpp/src/qpid/ha/Role.h @@ -38,6 +38,8 @@ namespace ha { class Role { public: + virtual ~Role() {} + /** Log prefix appropriate to the role */ virtual std::string getLogPrefix() const = 0; -- cgit v1.2.1