make sure the default behavior does not crash.

This commit is contained in:
Mathieu Lacage
2008-03-02 01:18:07 +01:00
parent 4c40782b30
commit c43e0ecb14

View File

@@ -14,6 +14,7 @@ MobilityHelper::MobilityHelper ()
{
m_position = CreateObjectWith<RandomRectanglePositionAllocator> ("X", ConstantVariable (0.0),
"Y", ConstantVariable (0.0));
m_mobility.SetTypeId ("StaticMobilityModel");
}
void
MobilityHelper::EnableNotifier (void)