diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-11 17:20:12 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-02-11 17:20:12 +0000 |
commit | 62d9fc1999fbb7620edefedaf0eef040741e856a (patch) | |
tree | 79e215dfa4e900d5e18726f69c598e692895f167 | |
parent | d0384254e5b2e0d7349f83c9bf3f870bdc988994 (diff) | |
download | ATCD-62d9fc1999fbb7620edefedaf0eef040741e856a.tar.gz |
(operator =): added return type to avoid compiler warning, and wrapped in ACE_UNIMPLEMENTED_FUNC
-rw-r--r-- | TAO/tao/iiopobj.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/TAO/tao/iiopobj.h b/TAO/tao/iiopobj.h index de408883f9d..79508ef2412 100644 --- a/TAO/tao/iiopobj.h +++ b/TAO/tao/iiopobj.h @@ -1,4 +1,5 @@ // This may look like C, but it's really -*- C++ -*- +// $Id$ // ============================================================================ // @@ -117,7 +118,7 @@ public: Profile &operator = (const Profile &src); // Disallow copy constructor. - + ACE_INET_Addr object_addr_; // Cached instance of <ACE_INET_Addr> for use in making // invocations, etc. @@ -136,17 +137,17 @@ class TAO_Export IIOP_Object : public STUB_Object { public: void do_call (CORBA::Environment &env, - const TAO_Call_Data *info, - ...); + const TAO_Call_Data *info, + ...); // SII-based invocation. void do_dynamic_call (const char *opname, - CORBA::Boolean is_roundtrip, - CORBA::NVList_ptr args, - CORBA::NamedValue_ptr result, - CORBA::Flags flags, - CORBA::ExceptionList &exceptions, - CORBA::Environment &env); + CORBA::Boolean is_roundtrip, + CORBA::NVList_ptr args, + CORBA::NamedValue_ptr result, + CORBA::Flags flags, + CORBA::ExceptionList &exceptions, + CORBA::Environment &env); // DII-based invocation. // = Support for tables keyed by objrefs. @@ -201,7 +202,7 @@ public: // client side. IIOP_Object (char *repository_id, - const ACE_INET_Addr &addr, + const ACE_INET_Addr &addr, const char *objkey /*= "0"*/); // @@ (IRFAN) We may need to remove this def arg // Constructor used typically by the server side. @@ -242,9 +243,8 @@ private: // Destructor is to be called only through Release() // = Disallow copy constructor and assignment operator - - IIOP_Object (const IIOP_Object &); - operator = (const IIOP_Object &); + ACE_UNIMPLEMENTED_FUNC (IIOP_Object (const IIOP_Object &)) + ACE_UNIMPLEMENTED_FUNC (IIOP_Object &operator = (const IIOP_Object &)) #if defined (__GNUG__) // G++ (even 2.6.3) stupidly thinks instances can't be created. @@ -253,4 +253,4 @@ private: #endif /* __GNUG__ */ }; -#endif /* TAO_IIOPOBJ_H */ +#endif /* TAO_IIOPOBJ_H */ |