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
commit099560f11464c90d48821232d45c548040833d23 (patch)
treee14dd036eaa6b82d43fe870936a8cae1409bcc88 /cpp
parent9432d629c36f2eb3c979d4c613c47e180ac32eed (diff)
downloadqpid-python-099560f11464c90d48821232d45c548040833d23.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;