You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2007/11/27 16:07:12 UTC
svn commit: r598661 -
/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/Buffer.cpp
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;
}
////////////////////////////////////////////////////////////////////////////////