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 2009/02/06 02:44:50 UTC
svn commit: r741370 -
/activemq/activemq-cpp/trunk/src/main/decaf/lang/Pointer.h
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;