summaryrefslogtreecommitdiff
path: root/ace/Timer_Wheel_T.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2001-06-02 14:17:48 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2001-06-02 14:17:48 +0000
commit420c27f0783cf882d5954904b557cccb8ea264e3 (patch)
tree73888e25a4c44f615b38b79e70f15688d9069e27 /ace/Timer_Wheel_T.cpp
parentddda75e77fb9086503046aff030932a32be9865a (diff)
downloadATCD-420c27f0783cf882d5954904b557cccb8ea264e3.tar.gz
ChangeLogTag:Fri Jun 1 13:04:31 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
Diffstat (limited to 'ace/Timer_Wheel_T.cpp')
-rw-r--r--ace/Timer_Wheel_T.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/ace/Timer_Wheel_T.cpp b/ace/Timer_Wheel_T.cpp
index fdbe32c705c..c1620d633ff 100644
--- a/ace/Timer_Wheel_T.cpp
+++ b/ace/Timer_Wheel_T.cpp
@@ -283,13 +283,9 @@ ACE_Timer_Wheel_T<TYPE, FUNCTOR, ACE_LOCK>::earliest_time (void) const
{
ACE_TRACE ("ACE_Timer_Wheel_T::earliest_time");
- if (this->is_empty ())
- return ACE_Time_Value::zero;
- else
- return this->wheel_[this->earliest_pos_]->get_next ()->get_timer_value ();
+ return this->wheel_[this->earliest_pos_]->get_next ()->get_timer_value ();
}
-
/**
* Creates a ACE_Timer_Node_T based on the input parameters. Then inserts
* the node into the wheel using reschedule (). Then returns a timer_id