You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2012/11/21 00:55:02 UTC

svn commit: r1411934 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main: activemq/transport/correlator/ResponseCorrelator.h decaf/lang/System.cpp decaf/util/concurrent/ThreadPoolExecutor.cpp decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp

Author: tabish
Date: Tue Nov 20 23:55:01 2012
New Revision: 1411934

URL: http://svn.apache.org/viewvc?rev=1411934&view=rev
Log:
Fix a bunch of compiler warnings

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/correlator/ResponseCorrelator.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/System.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ThreadPoolExecutor.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/correlator/ResponseCorrelator.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/correlator/ResponseCorrelator.h?rev=1411934&r1=1411933&r2=1411934&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/correlator/ResponseCorrelator.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/transport/correlator/ResponseCorrelator.h Tue Nov 20 23:55:01 2012
@@ -48,6 +48,11 @@ namespace correlator {
 
         CorrelatorData* impl;
 
+    private:
+
+        ResponseCorrelator(const ResponseCorrelator&);
+        ResponseCorrelator& operator= (const ResponseCorrelator&);
+
     public:
 
         /**

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/System.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/System.cpp?rev=1411934&r1=1411933&r2=1411934&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/System.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/System.cpp Tue Nov 20 23:55:01 2012
@@ -78,11 +78,9 @@ namespace lang {
 
     public:
 
-        SystemData() : systemProperties() {
-        }
+        SystemData() : cachedEnvValues(), aprPool(), systemProperties() {}
 
-        ~SystemData() {
-        }
+        ~SystemData() {}
     };
 
 }}

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=1411934&r1=1411933&r2=1411934&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 23:55:01 2012
@@ -255,6 +255,11 @@ namespace concurrent{
             }
         };
 
+    private:
+
+        ExecutorKernel(const ExecutorKernel&);
+        ExecutorKernel& operator= (const ExecutorKernel&);
+
     public:
 
         static const int COUNT_BITS;

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp?rev=1411934&r1=1411933&r2=1411934&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/AbstractQueuedSynchronizer.cpp Tue Nov 20 23:55:01 2012
@@ -244,6 +244,11 @@ namespace {
         int size;
         decaf_mutex_t lock;
 
+    private:
+
+        NodePool(const NodePool&);
+        NodePool& operator= (const NodePool&);
+
     public:
 
         NodePool() : head(), tail(NULL), size(0), lock() {