activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nmitt...@apache.org
Subject svn commit: r499766 - /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/Set.h
Date Thu, 25 Jan 2007 12:49:58 GMT
Author: nmittler
Date: Thu Jan 25 04:49:58 2007
New Revision: 499766

URL: http://svn.apache.org/viewvc?view=rev&rev=499766
Log:
[AMQCPP-46] - Fixed bug in Set.h

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/Set.h

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/Set.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/Set.h?view=diff&rev=499766&r1=499765&r2=499766
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/Set.h (original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/Set.h Thu Jan
25 04:49:58 2007
@@ -220,7 +220,7 @@
         typename std::set<E>::const_iterator iter;
         iter=values.begin();
         for( int ix=0; iter != values.end(); ++iter, ++ix ){
-            valueArray.push_back( *iter );
+            valueArray[ix] = *iter;
         }
         
         return valueArray;



Mime
View raw message