activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r925923 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicRefCounter.h
Date Sun, 21 Mar 2010 22:27:17 GMT
Author: tabish
Date: Sun Mar 21 22:27:17 2010
New Revision: 925923

URL: http://svn.apache.org/viewvc?rev=925923&view=rev
Log:
Fix for warnings generated by gcc with -Weffc++ enabled.

Add virtual dtor

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicRefCounter.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicRefCounter.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicRefCounter.h?rev=925923&r1=925922&r2=925923&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicRefCounter.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicRefCounter.h
Sun Mar 21 22:27:17 2010
@@ -42,6 +42,8 @@ namespace atomic{
             this->counter->incrementAndGet();
         }
 
+        virtual ~AtomicRefCounter() {}
+
     protected:
 
         /**



Mime
View raw message