[ http://issues.apache.org/jira/browse/AXISCPP-1007?page=all ]
nadir amra updated AXISCPP-1007:
--------------------------------
Summary: Correct assignment operator (was: Correct copy constructors)
Description:
The assignment operators for SoapFaultException and OtherFaultException causes
warning messages to be issued on some platforms, causes an addition copy to be
made for the object to be copied, and has the virtual keyword specified which
is unneccessary. So the methods have been changed from:
virtual SoapFaultException& operator=(SoapFaultException other);
virtual OtherFaultException& operator=(OtherFaultException other);
TO:
SoapFaultException& operator=(const SoapFaultException& other);
OtherFaultException& operator=(const OtherFaultException& other);
Forgot to mention that this is due in part to Haiping Zhao many changes posted
on the mailing list, which I am going through slowly. Doing the easy stuff
first.
Thanks Haiping!
was:
The copy constructors for SoapFaultException and OtherFaultException causes
warning messages to be issued on some platforms, causes an addition copy to be
made for the object to be copied, and has the virtual keyword specified which
is unneccessary. So the methods have been changed from:
virtual SoapFaultException& operator=(SoapFaultException other);
virtual OtherFaultException& operator=(OtherFaultException other);
TO:
SoapFaultException& operator=(const SoapFaultException& other);
OtherFaultException& operator=(const OtherFaultException& other);
> Correct assignment operator
> ---------------------------
>
> Key: AXISCPP-1007
> URL: http://issues.apache.org/jira/browse/AXISCPP-1007
> Project: Axis-C++
> Issue Type: Improvement
> Components: Basic Architecture
> Affects Versions: 1.6 Beta
> Reporter: nadir amra
> Assigned To: nadir amra
> Priority: Minor
> Fix For: 1.6 Beta
>
>
> The assignment operators for SoapFaultException and OtherFaultException
> causes warning messages to be issued on some platforms, causes an addition
> copy to be made for the object to be copied, and has the virtual keyword
> specified which is unneccessary. So the methods have been changed from:
> virtual SoapFaultException& operator=(SoapFaultException other);
> virtual OtherFaultException& operator=(OtherFaultException other);
> TO:
> SoapFaultException& operator=(const SoapFaultException& other);
> OtherFaultException& operator=(const OtherFaultException& other);
> Forgot to mention that this is due in part to Haiping Zhao many changes
> posted on the mailing list, which I am going through slowly. Doing the easy
> stuff first.
> Thanks Haiping!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]