You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2013/03/12 14:50:51 UTC
svn commit: r1455529 - /qpid/trunk/qpid/cpp/src/qpid/ha/Role.h
Author: aconway
Date: Tue Mar 12 13:50:50 2013
New Revision: 1455529
URL: http://svn.apache.org/r1455529
Log:
QPID-4641: C++ build errors re virtual functions but non-virtual destructor
Modified:
qpid/trunk/qpid/cpp/src/qpid/ha/Role.h
Modified: qpid/trunk/qpid/cpp/src/qpid/ha/Role.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/ha/Role.h?rev=1455529&r1=1455528&r2=1455529&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/ha/Role.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/ha/Role.h Tue Mar 12 13:50:50 2013
@@ -38,6 +38,8 @@ namespace ha {
class Role
{
public:
+ virtual ~Role() {}
+
/** Log prefix appropriate to the role */
virtual std::string getLogPrefix() const = 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org