activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r552829 - /activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/io/ByteArrayInputStream.cpp
Date Tue, 03 Jul 2007 13:23:23 GMT
Author: tabish
Date: Tue Jul  3 06:23:22 2007
New Revision: 552829

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

Building Decaf lib, optimizations

Modified:
    activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/io/ByteArrayInputStream.cpp

Modified: activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/io/ByteArrayInputStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/io/ByteArrayInputStream.cpp?view=diff&rev=552829&r1=552828&r2=552829
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/io/ByteArrayInputStream.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/io/ByteArrayInputStream.cpp Tue Jul
 3 06:23:22 2007
@@ -65,7 +65,7 @@
 
     // Copy data to internal buffer.
     std::back_insert_iterator< std::vector<unsigned char> > iter( defaultBuffer
);
-    std::copy( buffer, buffer + len, iter );
+    std::copy( lbuffer, lbuffer + lbufferSize, iter );
 
     // Begin at the Beginning.
     reset();



Mime
View raw message