Author: tabish
Date: Sun Mar 21 19:27:43 2010
New Revision: 925869

URL: http://svn.apache.org/viewvc?rev=925869&view=rev
Log:
Hide the assignment operator to avoid weird errors if the default is invoked. 

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.h
URL: 
http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.h?rev=925869&r1=925868&r2=925869&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.h 
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.h Sun 
Mar 21 19:27:43 2010
@@ -127,6 +127,17 @@ namespace cms{
          */
         virtual const char* what() const throw();
 
+    protected:
+
+        /**
+         * Overridden assignment operator.  We don't allow CMSExceptions to be 
assigned to one
+         * another so this method is left unimplemented.
+         *
+         * @param other
+         *      The CMSException to assign to this instance.
+         */
+        CMSException& operator= ( const cms::CMSException& other );
+
     };
 
 }


Reply via email to