diff -r 7c724be8f9a6 -r 358f71a624d8 src/core/model/default-simulator-impl.cc --- a/src/core/model/default-simulator-impl.cc Fri May 13 14:51:51 2011 -0400 +++ b/src/core/model/default-simulator-impl.cc Fri May 13 14:52:27 2011 -0400 @@ -42,7 +42,7 @@ static TypeId tid = TypeId ("ns3::DefaultSimulatorImpl") .SetParent () .AddConstructor () - ; + ; return tid; } @@ -62,9 +62,10 @@ } DefaultSimulatorImpl::~DefaultSimulatorImpl () -{} +{ +} -void +void DefaultSimulatorImpl::DoDispose (void) { while (!m_events->IsEmpty ()) @@ -272,7 +273,7 @@ m_destroyEvents.erase (i); break; } - } + } return; } if (IsExpired (id)) @@ -318,7 +319,7 @@ { return false; } - } + } return true; } if (ev.PeekEventImpl () == 0 ||