diff options
author | jp4 <jp4@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-20 23:17:29 +0000 |
---|---|---|
committer | jp4 <jp4@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-20 23:17:29 +0000 |
commit | 80fc4fd2950c8718252d8a5f306481ea872a91d7 (patch) | |
tree | 2aca1a78f22eba6023d354f770e6e8df6324d0f6 /TAO/tao/CurrentC.cpp | |
parent | eb8e84300068cf98859f2aa33923ba96a94df1b7 (diff) | |
download | ATCD-80fc4fd2950c8718252d8a5f306481ea872a91d7.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao/CurrentC.cpp')
-rw-r--r-- | TAO/tao/CurrentC.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/TAO/tao/CurrentC.cpp b/TAO/tao/CurrentC.cpp index 43c872cbe63..228dacccfc6 100644 --- a/TAO/tao/CurrentC.cpp +++ b/TAO/tao/CurrentC.cpp @@ -72,7 +72,7 @@ const char* CORBA_Current::_interface_repository_id (void) const return "IDL:CORBA/Current:1.0"; } -void operator<<= (CORBA::Any &_tao_any, CORBA_Current_ptr _tao_elem) // copying +void operator<<= (CORBA::Any &_tao_any, CORBA_Current_ptr _tao_elem) { CORBA::Environment _tao_env; CORBA::Object_ptr *_tao_obj_ptr; @@ -80,11 +80,7 @@ void operator<<= (CORBA::Any &_tao_any, CORBA_Current_ptr _tao_elem) // copying *_tao_obj_ptr = CORBA_Current::_duplicate (_tao_elem); _tao_any.replace (CORBA::_tc_Current, _tao_obj_ptr, 1, _tao_env); } -void operator<<= (CORBA::Any &_tao_any, CORBA_Current_ptr *_tao_elem) // non copying -{ - CORBA::Environment _tao_env; - _tao_any.replace (CORBA::_tc_Current, _tao_elem, 0, _tao_env); -} + CORBA::Boolean operator>>= (const CORBA::Any &_tao_any, CORBA_Current_ptr &_tao_elem) { CORBA::Environment _tao_env; |