activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1068535 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/LinkedList.h
Date Tue, 08 Feb 2011 19:20:55 GMT
Author: tabish
Date: Tue Feb  8 19:20:55 2011
New Revision: 1068535

URL: http://svn.apache.org/viewvc?rev=1068535&view=rev
Log:
Fix failing unit tests on Windows.

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

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/LinkedList.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/LinkedList.h?rev=1068535&r1=1068534&r2=1068535&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/LinkedList.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/LinkedList.h Tue Feb  8 19:20:55
2011
@@ -997,7 +997,7 @@ namespace util {
             std::auto_ptr< ArrayList<E> > copy;
             std::auto_ptr< Iterator<E> > iter;
 
-            if( (void*)this == &collection ) {
+            if( this == &collection ) {
                 copy.reset( new ArrayList<E>( collection ) );
                 iter.reset( copy->iterator() );
             } else {



Mime
View raw message