activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1411911 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadPoolExecutor.cpp
Date Tue, 20 Nov 2012 22:27:17 GMT
Author: tabish
Date: Tue Nov 20 22:27:16 2012
New Revision: 1411911

URL: http://svn.apache.org/viewvc?rev=1411911&view=rev
Log:
Fix for destructor that should be declared virtual 

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadPoolExecutor.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadPoolExecutor.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadPoolExecutor.cpp?rev=1411911&r1=1411910&r2=1411911&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadPoolExecutor.cpp
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadPoolExecutor.cpp
Tue Nov 20 22:27:16 2012
@@ -154,8 +154,8 @@ namespace concurrent{
 
         private:
 
-            Worker( const Worker& );
-            Worker& operator= ( const Worker& );
+            Worker(const Worker&);
+            Worker& operator=(const Worker&);
 
          public:
 
@@ -170,7 +170,7 @@ namespace concurrent{
                 this->thread.reset(kernel->factory->newThread(this));
             }
 
-            ~Worker() {}
+            virtual ~Worker() {}
 
             void run() {
                 // Delegate the running of this task to the Kernel so that all the logic



Mime
View raw message