weird leftover from the ClassId changes.

This commit is contained in:
Mathieu Lacage
2008-02-04 22:19:20 +01:00
parent f21962defc
commit 6ba83d0891

View File

@@ -14,6 +14,7 @@
#include "ns3/node.h"
#include "ns3/node-list.h"
#include "ns3/rectangle-default-value.h"
#include "ns3/type-id-default-value.h"
#include "mobility-visualizer.h"
@@ -100,7 +101,7 @@ int model_init (int argc, char *argv[], double *x1, double *y1, double *x2, doub
Simulator::Schedule (g_sampleInterval, Sample);
ClassId mobType = DefaultValueListGet<ClassIdDefaultValue> ("RandomTopologyMobilityType")->GetValue ();
TypeId mobType = DefaultValueListGet<TypeIdDefaultValue> ("RandomTopologyMobilityType")->GetValue ();
if (mobType.GetName () == "RandomWalk2dMobilityModel")
{
Rectangle bounds = DefaultValueListGet<RectangleDefaultValue> ("RandomWalk2dBounds")->GetValue ();