activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r741333 - /activemq/activemq-cpp/trunk/src/main/decaf/lang/Pointer.h
Date Thu, 05 Feb 2009 22:45:32 GMT
Author: tabish
Date: Thu Feb  5 22:45:32 2009
New Revision: 741333

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

Modified:
    activemq/activemq-cpp/trunk/src/main/decaf/lang/Pointer.h

Modified: activemq/activemq-cpp/trunk/src/main/decaf/lang/Pointer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/decaf/lang/Pointer.h?rev=741333&r1=741332&r2=741333&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/decaf/lang/Pointer.h (original)
+++ activemq/activemq-cpp/trunk/src/main/decaf/lang/Pointer.h Thu Feb  5 22:45:32 2009
@@ -157,7 +157,6 @@
 
     public:
 
-        typedef T* StoredType;    // the type of the object we point to
         typedef T* PointerType;   // type returned by operator->
         typedef T& ReferenceType; // type returned by operator*
 
@@ -177,7 +176,7 @@
          *
          * @param value - instance of the type we are containing here.
          */
-        explicit Pointer( const StoredType& value ) : REFCOUNTER( value ), value( value
) {
+        explicit Pointer( const PointerType value ) : REFCOUNTER( value ), value( value )
{
         }
 
         /**



Mime
View raw message