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:
 
         /**


Reply via email to