activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1405014 - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf: internal/util/concurrent/ThreadLocalImpl.h lang/ThreadLocal.h
Date Fri, 02 Nov 2012 15:45:08 GMT
Author: tabish
Date: Fri Nov  2 15:45:08 2012
New Revision: 1405014

URL: http://svn.apache.org/viewvc?rev=1405014&view=rev
Log:
Hide copy and assignment operators 

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/ThreadLocalImpl.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/ThreadLocal.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/ThreadLocalImpl.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/ThreadLocalImpl.h?rev=1405014&r1=1405013&r2=1405014&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/ThreadLocalImpl.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/concurrent/ThreadLocalImpl.h
Fri Nov  2 15:45:08 2012
@@ -30,6 +30,11 @@ namespace concurrent {
 
         int tlsKey;
 
+    private:
+
+        ThreadLocalImpl(const ThreadLocalImpl&);
+        ThreadLocalImpl& operator= (const ThreadLocalImpl&);
+
     public:
 
         ThreadLocalImpl();

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/ThreadLocal.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/ThreadLocal.h?rev=1405014&r1=1405013&r2=1405014&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/ThreadLocal.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/ThreadLocal.h Fri Nov  2
15:45:08 2012
@@ -41,6 +41,11 @@ namespace lang {
      */
     template <typename E>
     class ThreadLocal : protected decaf::internal::util::concurrent::ThreadLocalImpl {
+    private:
+
+        ThreadLocal(const ThreadLocal&);
+        ThreadLocal& operator= (const ThreadLocal&);
+
     public:
 
         /**



Mime
View raw message