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 2012/08/03 23:39:44 UTC

svn commit: r1369220 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicReference.h

Author: tabish
Date: Fri Aug  3 21:39:43 2012
New Revision: 1369220

URL: http://svn.apache.org/viewvc?rev=1369220&view=rev
Log:
Fix for uninitialized member value in ctor

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicReference.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicReference.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicReference.h?rev=1369220&r1=1369219&r2=1369220&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicReference.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicReference.h Fri Aug  3 21:39:43 2012
@@ -44,7 +44,7 @@ namespace atomic {
     public:
 
         AtomicReference() : value( NULL ) {}
-        AtomicReference(T* valu ) : value((void*)value) {}
+        AtomicReference(T* value) : value((void*)value) {}
 
         virtual ~AtomicReference() {}