Copy constructor for client proxy class
---------------------------------------
Key: AXISCPP-1041
URL: https://issues.apache.org/jira/browse/AXISCPP-1041
Project: Axis-C++
Issue Type: Improvement
Components: Client - Stub
Affects Versions: 1.6 Final
Environment: MS Windows MSVC
Reporter: Michail Ushakov
Client stubs allow client code copy and assign proxy objects.
example:
IMHO it is bad since axiscpp::Stub do not use any pointer share
mechanism so double deallocation can occur.
so add this code in Stub.hpp
class STORAGE_CLASS_INFO Stub
{
private:
/**
* Copy constructor and assignment Prohibited!
*/
Stub(const Stub& src) {}
Stub& operator=(const Stub& src) {return *this;}
public:
// Rest of code
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]