activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r741370 - /activemq/activemq-cpp/trunk/src/main/decaf/lang/Pointer.h
Date Fri, 06 Feb 2009 01:44:50 GMT
Author: tabish
Date: Fri Feb  6 01:44:50 2009
New Revision: 741370

URL: http://svn.apache.org/viewvc?rev=741370&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=741370&r1=741369&r2=741370&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/decaf/lang/Pointer.h (original)
+++ activemq/activemq-cpp/trunk/src/main/decaf/lang/Pointer.h Fri Feb  6 01:44:50 2009
@@ -28,7 +28,7 @@
 namespace lang {
 
     template <typename T>
-    class AtomicRefCounter {
+    class DECAF_API AtomicRefCounter {
     private:
 
         decaf::util::concurrent::atomic::AtomicInteger* counter;
@@ -41,7 +41,7 @@
 
         AtomicRefCounter() :
             counter( new decaf::util::concurrent::atomic::AtomicInteger( 1 ) ) {}
-        AtomicRefCounter( T* value ) :
+        AtomicRefCounter( T* value DECAF_UNUSED ) :
             counter( new decaf::util::concurrent::atomic::AtomicInteger( 1 ) ) {}
         AtomicRefCounter( const AtomicRefCounter& other ) : counter( other.counter )
{
             this->counter->incrementAndGet();
@@ -80,7 +80,7 @@
     };
 
     template <typename T>
-    class InvasiveCounter {
+    class DECAF_API InvasiveCounter {
     private:
 
         T* counter;



Mime
View raw message