activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r598661 - /activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/Buffer.cpp
Date Tue, 27 Nov 2007 15:07:12 GMT
Author: tabish
Date: Tue Nov 27 07:07:11 2007
New Revision: 598661

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

Starting the NIO implementation

Modified:
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/Buffer.cpp

Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/Buffer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/Buffer.cpp?rev=598661&r1=598660&r2=598661&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/Buffer.cpp (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/Buffer.cpp Tue Nov 27 07:07:11 2007
@@ -27,6 +27,9 @@
 ////////////////////////////////////////////////////////////////////////////////
 Buffer::Buffer( std::size_t capacity ) {
     this->_limit = capacity;
+    this->_position = 0;
+    this->_mark = 0;
+    this->markSet = false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////



Mime
View raw message