diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-03-16 08:34:12 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-03-16 08:34:12 +0000 |
commit | 35b3c456a1ed19b6b66f4ab4c9f9f799768aec29 (patch) | |
tree | 72d69dbbb0bab5e66b57022feed1cbd2d4bf0c30 /TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp | |
parent | 0b8009abc036696bf71ff15faa2fafec05b9ec16 (diff) | |
download | ATCD-35b3c456a1ed19b6b66f4ab4c9f9f799768aec29.tar.gz |
Mon Mar 16 08:34:22 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* tao/Exclusive_TMS.h:
* tao/Muxed_TMS.h:
Added forward declaration
* tao/Policy_Set.cpp:
Layout changes
* tao/Profile.cpp:
Fixed 64bit issue, use operator!
* tao/Synch_Invocation.cpp:
* tao/RTPortableServer/RT_Servant_Dispatcher.cpp:
Use operator!
Diffstat (limited to 'TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp')
-rw-r--r-- | TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp b/TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp index 63f2b2ff519..06a9054a1f9 100644 --- a/TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp +++ b/TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp @@ -41,8 +41,7 @@ TAO_RT_Servant_Dispatcher::pre_invoke_remote_request ( TAO::Portable_Server::Servant_Upcall::Pre_Invoke_State &pre_invoke_state ) { - TAO_Service_Context &request_service_context = - req.request_service_context (); + TAO_Service_Context &request_service_context = req.request_service_context (); TAO_Service_Context &reply_service_context = req.reply_service_context (); TAO_Thread_Pool *thread_pool = @@ -115,11 +114,11 @@ TAO_RT_Servant_Dispatcher::pre_invoke_remote_request ( (context->context_data.get_buffer ()), context->context_data.length ()); CORBA::Boolean byte_order; - if ((cdr >> ACE_InputCDR::to_boolean (byte_order)) == 0) + if (!(cdr >> ACE_InputCDR::to_boolean (byte_order))) throw ::CORBA::MARSHAL (); cdr.reset_byte_order (static_cast<int> (byte_order)); - if ((cdr >> target_priority) == 0) + if (!(cdr >> target_priority)) throw ::CORBA::MARSHAL (); // Save the target priority in the response service |