You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "nadir amra (JIRA)" <ax...@ws.apache.org> on 2008/07/21 23:13:31 UTC

[jira] Closed: (AXISCPP-1041) Copy constructor for client proxy class

     [ https://issues.apache.org/jira/browse/AXISCPP-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nadir amra closed AXISCPP-1041.
-------------------------------

       Resolution: Fixed
    Fix Version/s: current (nightly)

Done under revision 678571 (http://svn.apache.org/viewvc?view=rev&revision=678571)

> 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
>             Fix For: current (nightly)
>
>
>  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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org