summaryrefslogtreecommitdiff
path: root/TAO/tao/Any.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Any.cpp')
-rw-r--r--TAO/tao/Any.cpp17
1 files changed, 3 insertions, 14 deletions
diff --git a/TAO/tao/Any.cpp b/TAO/tao/Any.cpp
index 1ff27056605..c688e1b4cb6 100644
--- a/TAO/tao/Any.cpp
+++ b/TAO/tao/Any.cpp
@@ -8,6 +8,8 @@
#include "tao/Any_Unknown_IDL_Type.h"
#include "tao/Object.h"
#include "tao/Typecode.h"
+#include "tao/SystemException.h"
+#include "tao/CDR.h"
#include "ace/Log_Msg.h"
#include "ace/OS_NS_string.h"
@@ -121,17 +123,6 @@ CORBA::Any::_tao_set_typecode (const CORBA::TypeCode_ptr tc)
}
}
-ACE_Message_Block *
-CORBA::Any::_tao_get_cdr (void) const
-{
- if (this->impl_ != 0)
- {
- return this->impl_->_tao_get_cdr ();
- }
-
- return 0;
-}
-
int
CORBA::Any::_tao_byte_order (void) const
{
@@ -305,9 +296,7 @@ operator>> (TAO_InputCDR &cdr, CORBA::Any &any)
{
TAO::Unknown_IDL_Type *impl = 0;
ACE_NEW_RETURN (impl,
- TAO::Unknown_IDL_Type (tc.in (),
- 0,
- cdr.byte_order ()),
+ TAO::Unknown_IDL_Type (tc.in ()),
0);
any.replace (impl);