activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r554287 - /activemq/activemq-cpp/trunk/src/main/activemq/util/Properties.h
Date Sun, 08 Jul 2007 01:00:15 GMT
Author: tabish
Date: Sat Jul  7 18:00:14 2007
New Revision: 554287

URL: http://svn.apache.org/viewvc?view=rev&rev=554287
Log:
http://issues.apache.org/activemq/browse/AMQCPP-128

Properties performance increase

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

Modified: activemq/activemq-cpp/trunk/src/main/activemq/util/Properties.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/util/Properties.h?view=diff&rev=554287&r1=554286&r2=554287
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/util/Properties.h (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/util/Properties.h Sat Jul  7 18:00:14 2007
@@ -130,17 +130,6 @@
             std::vector< std::pair<std::string, std::string> > vec(
                     properties.begin(), properties.end() );
 
-//            // Create a vector big enough to hold all the elements in the map.
-//            std::vector< std::pair<std::string, std::string> > vec( properties.size()
);
-//
-//            // Get an iterator at the beginning of the map.
-//            std::map< std::string, std::string >::const_iterator iter = properties.begin();
-//
-//            // Copy all of the elements from the map to the vector.
-//            for( int ix=0; iter != properties.end(); ++iter, ++ix ){
-//                vec[ix] = *iter;
-//            }
-
             return vec;
         }
 



Mime
View raw message