activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r712857 - in /activemq/activemq-cpp/trunk/src/main/decaf/internal/nio: ByteArrayPerspective.cpp ByteArrayPerspective.h
Date Mon, 10 Nov 2008 22:27:47 GMT
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



Mime
View raw message