activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1042795 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.h
Date Mon, 06 Dec 2010 21:17:06 GMT
Author: tabish
Date: Mon Dec  6 21:17:05 2010
New Revision: 1042795

URL: http://svn.apache.org/viewvc?rev=1042795&view=rev
Log:
Hide the assignment operator and copy constructor as this class is non-copyable.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.h?rev=1042795&r1=1042794&r2=1042795&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.h
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.h
Mon Dec  6 21:17:05 2010
@@ -48,6 +48,11 @@ namespace core{
         // d-Pointer holding pre-configured factory settings
         FactorySettings* settings;
 
+    private:
+
+        ActiveMQConnectionFactory( const ActiveMQConnectionFactory& );
+        ActiveMQConnectionFactory& operator= ( const ActiveMQConnectionFactory& );
+
     public:
 
         ActiveMQConnectionFactory();



Mime
View raw message