activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r925869 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.h
Date Sun, 21 Mar 2010 19:27:44 GMT
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 );
+
     };
 
 }



Mime
View raw message