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 2008/07/21 23:10:47 UTC

svn commit: r678571 - /webservices/axis/trunk/c/include/axis/client/Stub.hpp

Author: nadiramra
Date: Mon Jul 21 14:10:47 2008
New Revision: 678571

URL: http://svn.apache.org/viewvc?rev=678571&view=rev
Log:
AXISCPP-1041 - stub copy and assignment constructors should be private.

Modified:
    webservices/axis/trunk/c/include/axis/client/Stub.hpp

Modified: webservices/axis/trunk/c/include/axis/client/Stub.hpp
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/include/axis/client/Stub.hpp?rev=678571&r1=678570&r2=678571&view=diff
==============================================================================
--- webservices/axis/trunk/c/include/axis/client/Stub.hpp (original)
+++ webservices/axis/trunk/c/include/axis/client/Stub.hpp Mon Jul 21 14:10:47 2008
@@ -663,6 +663,16 @@
    
 private:
     /**
+    * Copy constructor prohibited!
+    */
+    Stub(const Stub& src) {}
+    
+    /**
+     * Assignment prohibited!
+     */
+    Stub& operator=(const Stub& src) {return *this;} 
+    
+    /**
      * SSL configuration parameters
      */
     std::string m_sArguments[8];