summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Method_Request.inl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/Method_Request.inl')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Method_Request.inl5
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Method_Request.inl b/TAO/orbsvcs/orbsvcs/Notify/Method_Request.inl
index 66c35ce83d6..619cfbefa56 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Method_Request.inl
+++ b/TAO/orbsvcs/orbsvcs/Notify/Method_Request.inl
@@ -3,7 +3,7 @@
#include "ace/OS_NS_sys_time.h"
ACE_INLINE void
-TAO_Notify_Method_Request::init (const TAO_Notify_Event_var& event)
+TAO_Notify_Method_Request_Queueable::init (const TAO_Notify_Event * event)
{
// Set the parameters that affect queuing in the message queue.
// The ACE_Message_Block priorities go from 0 (lowest) to ULONG_MAX
@@ -32,8 +32,7 @@ TAO_Notify_Method_Request::init (const TAO_Notify_Event_var& event)
ACE_Time_Value current = ACE_OS::gettimeofday () +
# if defined (ACE_CONFIG_WIN32_H)
ACE_Time_Value (
- ACE_static_cast (long,
- timeout.value ()));
+ static_cast<long> (timeout.value ()));
# else
ACE_Time_Value (timeout.value () / 1);
# endif /* ACE_CONFIG_WIN32_H */