diff --git a/src/core/model/realtime-simulator-impl.cc b/src/core/model/realtime-simulator-impl.cc index 24c98db57..bef8c720c 100644 --- a/src/core/model/realtime-simulator-impl.cc +++ b/src/core/model/realtime-simulator-impl.cc @@ -95,7 +95,7 @@ void RealtimeSimulatorImpl::DoDispose (void) { NS_LOG_FUNCTION_NOARGS (); - while (m_events->IsEmpty () == false) + while (!m_events->IsEmpty ()) { Scheduler::Event next = m_events->RemoveNext (); next.impl->Unref ();