summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-03-12 13:50:50 +0000
committerAlan Conway <aconway@apache.org>2013-03-12 13:50:50 +0000
commitc6ecad2dba4a6a865b623a6ca7053a407616e87a (patch)
treee14dd036eaa6b82d43fe870936a8cae1409bcc88 /cpp
parent3f19c36eaf095948616d2f8ac97f63011161c366 (diff)
downloadqpid-python-c6ecad2dba4a6a865b623a6ca7053a407616e87a.tar.gz
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
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/ha/Role.h2
1 files changed, 2 insertions, 0 deletions
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;