Author: tabish
Date: Mon Jul 30 15:04:28 2012
New Revision: 1367112

URL: http://svn.apache.org/viewvc?rev=1367112&view=rev
Log:
minor cleanups

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

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=1367112&r1=1367111&r2=1367112&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
 Mon Jul 30 15:04:28 2012
@@ -123,6 +123,11 @@ namespace {
          */
         Node* nextWaiter;
 
+    private:
+
+        Node(const Node&);
+        Node& operator= (const Node&);
+
     public:
 
         Node() : waitStatus(0), prev(NULL), next(NULL), thread(NULL), 
nextWaiter(NULL) {
@@ -837,6 +842,8 @@ namespace locks {
 
                 t = t->prev;
             }
+
+            return false;
         }
 
         /**


Reply via email to