diff options
author | bala <balanatarajan@users.noreply.github.com> | 2002-04-27 21:50:00 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2002-04-27 21:50:00 +0000 |
commit | 7b918bc71ef8458fe9e98847fcaa315f16c043ce (patch) | |
tree | 3984dbbcaa201e1ff773a8c039e6143e02714735 /TAO/tao/ORB.cpp | |
parent | d56dcc96799fdd3f4efbbb0311c8766392f26cea (diff) | |
download | ATCD-7b918bc71ef8458fe9e98847fcaa315f16c043ce.tar.gz |
ChangeLogTag:Sat Apr 27 16:54:22 2002 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/ORB.cpp')
-rw-r--r-- | TAO/tao/ORB.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/tao/ORB.cpp b/TAO/tao/ORB.cpp index 96391e5665d..864e400b5f9 100644 --- a/TAO/tao/ORB.cpp +++ b/TAO/tao/ORB.cpp @@ -6,6 +6,7 @@ ACE_RCSID (tao, ORB, "$Id$") + #include "ORB_Table.h" #include "Connector_Registry.h" #include "IOR_Parser.h" @@ -1955,24 +1956,24 @@ operator>>(TAO_InputCDR& cdr, TAO_opaque& x) return (CORBA::Boolean) cdr.good_bit (); } -CORBA::Boolean operator<< (TAO_OutputCDR &strm, +CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CORBA::TCKind &_tao_enumval) { CORBA::ULong _tao_temp = _tao_enumval; return strm << _tao_temp; } -CORBA::Boolean operator>> (TAO_InputCDR &strm, +CORBA::Boolean operator>> (TAO_InputCDR &strm, CORBA::TCKind &_tao_enumval) { CORBA::ULong _tao_temp = 0; CORBA::Boolean _tao_result = strm >> _tao_temp; - + if (_tao_result == 1) { _tao_enumval = ACE_static_cast (CORBA::TCKind, _tao_temp); } - + return _tao_result; } |