Author: tabish
Date: Fri Dec 17 19:30:15 2010
New Revision: 1050472

URL: http://svn.apache.org/viewvc?rev=1050472&view=rev
Log:
Fix a warning.

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

Modified: 
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/CopyOnWriteArraySet.h
URL: 
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/CopyOnWriteArraySet.h?rev=1050472&r1=1050471&r2=1050472&view=diff
==============================================================================
--- 
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/CopyOnWriteArraySet.h
 (original)
+++ 
activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/CopyOnWriteArraySet.h
 Fri Dec 17 19:30:15 2010
@@ -97,7 +97,7 @@ namespace concurrent {
         }
 
         virtual bool addAll( const Collection<E>& collection ) {
-            return this->array.addAllAbsent( collection );
+            return this->array.addAllAbsent( collection ) > 0 ? true : false;
         }
 
         virtual void clear() {


Reply via email to