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/19 17:52:03 UTC
svn commit: r596362 - in
/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util:
ByteArray.cpp ByteArray.h
Author: tabish
Date: Mon Nov 19 08:52:02 2007
New Revision: 596362
URL: http://svn.apache.org/viewvc?rev=596362&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103
Working on the NIO package
Modified:
activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp
activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.h
Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp?rev=596362&r1=596361&r2=596362&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.cpp Mon Nov 19 08:52:02 2007
@@ -17,6 +17,8 @@
#include "ByteArray.h"
+#include <string.h>
+#include <stdio.h>
#include <decaf/lang/Math.h>
using namespace decaf;
Modified: activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.h?rev=596362&r1=596361&r2=596362&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/internal/util/ByteArray.h Mon Nov 19 08:52:02 2007
@@ -71,7 +71,7 @@
* Gets the capacity of the underlying array.
* @return the size the array.
*/
- virtual std::size_t getCapactiy() const {
+ virtual std::size_t getCapacity() const {
return this->capacity;
}