summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB_Core.cpp')
-rw-r--r--TAO/tao/ORB_Core.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index ea9a870bd25..d6e9033b9c6 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -2104,15 +2104,11 @@ TAO_ORB_Core::run (ACE_Time_Value *tv, int perform_work)
// Every time we perform an interation we have to become the
// leader again, because it is possible that a client has
// acquired the leader role...
- TAO_Leader_Follower &leader_follower =
- this->leader_follower ();
+ TAO_Leader_Follower &leader_follower = this->leader_follower ();
+ TAO_LF_Strategy &lf_strategy = this->lf_strategy ();
- TAO_LF_Strategy &lf_strategy =
- this->lf_strategy ();
+ TAO_LF_Event_Loop_Thread_Helper helper (leader_follower, lf_strategy, tv);
- TAO_LF_Event_Loop_Thread_Helper helper (leader_follower,
- lf_strategy,
- tv);
result = helper.event_loop_return ();
if (result != 0)
{