You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by na...@apache.org on 2006/11/10 22:47:28 UTC

svn commit: r473515 - in /webservices/axis/trunk/c: include/axis/OtherFaultException.hpp include/axis/SoapFaultException.hpp src/soap/OtherFaultException.cpp src/soap/SoapFaultException.cpp

Author: nadiramra
Date: Fri Nov 10 13:47:27 2006
New Revision: 473515

URL: http://svn.apache.org/viewvc?view=rev&rev=473515
Log:
AXISCPP-1007 Correct copy constructors

Modified:
    webservices/axis/trunk/c/include/axis/OtherFaultException.hpp
    webservices/axis/trunk/c/include/axis/SoapFaultException.hpp
    webservices/axis/trunk/c/src/soap/OtherFaultException.cpp
    webservices/axis/trunk/c/src/soap/SoapFaultException.cpp

Modified: webservices/axis/trunk/c/include/axis/OtherFaultException.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/include/axis/OtherFaultException.hpp?view=diff&rev=473515&r1=473514&r2=473515
==============================================================================
--- webservices/axis/trunk/c/include/axis/OtherFaultException.hpp (original)
+++ webservices/axis/trunk/c/include/axis/OtherFaultException.hpp Fri Nov 10 13:47:27 2006
@@ -90,7 +90,7 @@
      * @param other is the OtherFaultException to be copied
      * @return reference to this
      */
-    virtual OtherFaultException& operator=(OtherFaultException other);
+    OtherFaultException& operator=(const OtherFaultException& other);
 
     /**
      * Destructor

Modified: webservices/axis/trunk/c/include/axis/SoapFaultException.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/include/axis/SoapFaultException.hpp?view=diff&rev=473515&r1=473514&r2=473515
==============================================================================
--- webservices/axis/trunk/c/include/axis/SoapFaultException.hpp (original)
+++ webservices/axis/trunk/c/include/axis/SoapFaultException.hpp Fri Nov 10 13:47:27 2006
@@ -94,7 +94,7 @@
      * @param other is the SOAPFaultException to be copied
      * @return reference to this
      */
-    virtual SoapFaultException& operator=(SoapFaultException other);
+    SoapFaultException& operator=(const SoapFaultException& other);
 
     /**
      * Destructor

Modified: webservices/axis/trunk/c/src/soap/OtherFaultException.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/OtherFaultException.cpp?view=diff&rev=473515&r1=473514&r2=473515
==============================================================================
--- webservices/axis/trunk/c/src/soap/OtherFaultException.cpp (original)
+++ webservices/axis/trunk/c/src/soap/OtherFaultException.cpp Fri Nov 10 13:47:27 2006
@@ -62,7 +62,7 @@
 	STRINGCOPY(m_detail, copy.m_detail);
 }
 
-OtherFaultException& OtherFaultException::operator=(OtherFaultException copy)
+OtherFaultException& OtherFaultException::operator=(const OtherFaultException& copy)
 {
 	SoapFaultException::operator=(copy);
 	STRINGREPLACE(m_detail, copy.m_detail);

Modified: webservices/axis/trunk/c/src/soap/SoapFaultException.cpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/soap/SoapFaultException.cpp?view=diff&rev=473515&r1=473514&r2=473515
==============================================================================
--- webservices/axis/trunk/c/src/soap/SoapFaultException.cpp (original)
+++ webservices/axis/trunk/c/src/soap/SoapFaultException.cpp Fri Nov 10 13:47:27 2006
@@ -73,7 +73,7 @@
 	m_iExceptionCode = copy.m_iExceptionCode;
 }
 
-SoapFaultException& SoapFaultException::operator=(SoapFaultException copy)
+SoapFaultException& SoapFaultException::operator=(const SoapFaultException& copy)
 {
 	exception::operator=(copy);
 	STRINGREPLACE(m_code	,copy.m_code);



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org