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 2008/11/10 23:27:47 UTC

svn commit: r712857 - in /activemq/activemq-cpp/trunk/src/main/decaf/internal/nio: ByteArrayPerspective.cpp ByteArrayPerspective.h

Author: tabish
Date: Mon Nov 10 14:27:47 2008
New Revision: 712857

URL: http://svn.apache.org/viewvc?rev=712857&view=rev
Log:
Cleanup

Modified:
    activemq/activemq-cpp/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.cpp
    activemq/activemq-cpp/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.h

Modified: activemq/activemq-cpp/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.cpp?rev=712857&r1=712856&r2=712857&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.cpp Mon Nov 10 14:27:47 2008
@@ -23,7 +23,7 @@
 using namespace decaf::internal::util;
 
 ////////////////////////////////////////////////////////////////////////////////
-ByteArrayPerspective::ByteArrayPerspective( int capacity ) : ByteArrayAdapter( capacity ){
+ByteArrayPerspective::ByteArrayPerspective( std::size_t capacity ) : ByteArrayAdapter( capacity ){
     this->references = 1;
 }
 

Modified: activemq/activemq-cpp/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.h?rev=712857&r1=712856&r2=712857&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.h (original)
+++ activemq/activemq-cpp/trunk/src/main/decaf/internal/nio/ByteArrayPerspective.h Mon Nov 10 14:27:47 2008
@@ -46,7 +46,7 @@
          * with all elements initialized to zero.
          * @param capacity - size of the array, this is the limit we read and write to.
          */
-        ByteArrayPerspective( int capacity );
+        ByteArrayPerspective( std::size_t capacity );
 
         /**
          * Creates a byte array object that wraps the given array.  If the own flag