diff options
Diffstat (limited to 'TAO/tao/Leader_Follower_Flushing_Strategy.cpp')
-rw-r--r-- | TAO/tao/Leader_Follower_Flushing_Strategy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Leader_Follower_Flushing_Strategy.cpp b/TAO/tao/Leader_Follower_Flushing_Strategy.cpp index 0c2763b1a84..ed8f4654227 100644 --- a/TAO/tao/Leader_Follower_Flushing_Strategy.cpp +++ b/TAO/tao/Leader_Follower_Flushing_Strategy.cpp @@ -48,7 +48,7 @@ TAO_Leader_Follower_Flushing_Strategy::flush_transport ( // transport we're coping with here and this thread will block. // Instead we do run for a small amount of time and then recheck // the queue. - if (max_wait_time == 0) + if (max_wait_time == nullptr) { ACE_Errno_Guard eguard (errno); @@ -61,7 +61,7 @@ TAO_Leader_Follower_Flushing_Strategy::flush_transport ( orb_core->orb ()->perform_work (max_wait_time); } - if (max_wait_time != 0) { + if (max_wait_time != nullptr) { if (*max_wait_time <= ACE_Time_Value::zero) { errno = ETIME; return -1; |