diff options
Diffstat (limited to 'TAO/tao/Sequence.cpp')
-rw-r--r-- | TAO/tao/Sequence.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/TAO/tao/Sequence.cpp b/TAO/tao/Sequence.cpp index 779beb4e3ce..cf604958be2 100644 --- a/TAO/tao/Sequence.cpp +++ b/TAO/tao/Sequence.cpp @@ -400,28 +400,3 @@ void TAO_Unbounded_Sequence<CORBA::Octet>::_deallocate_buffer (void) } #endif /* defined (TAO_NO_COPY_OCTET_SEQUENCES) */ - -//////////////////////////////////////////////////////////////////////////////// - -int -operator== (const TAO_Unbounded_Sequence<CORBA::Octet> &lhs, - const TAO_Unbounded_Sequence<CORBA::Octet> &rhs) -{ - if (rhs.length () != lhs.length ()) - return 0; - - for (CORBA::ULong i = 0; - i < rhs.length (); - ++i) - if (rhs[i] != lhs[i]) - return 0; - - return 1; -} - -int -operator!= (const TAO_Unbounded_Sequence<CORBA::Octet> &lhs, - const TAO_Unbounded_Sequence<CORBA::Octet> &rhs) -{ - return !(lhs == rhs); -} |