summaryrefslogtreecommitdiff
path: root/TAO/tao/Invocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Invocation.cpp')
-rw-r--r--TAO/tao/Invocation.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/tao/Invocation.cpp b/TAO/tao/Invocation.cpp
index 2a50a763c95..5f762aecbce 100644
--- a/TAO/tao/Invocation.cpp
+++ b/TAO/tao/Invocation.cpp
@@ -604,7 +604,9 @@ TAO_GIOP_Twoway_Invocation::invoke (CORBA::ExceptionList &exceptions,
const ACE_Message_Block* cdr =
this->inp_stream ().start ();
- CORBA_Any any (tcp, 0, cdr);
+ CORBA_Any any (tcp, 0,
+ this->inp_stream ().byte_order (),
+ cdr);
CORBA_Exception *exception;
ACE_NEW_THROW_EX (exception,