changeset 2230 | 9f13ac3291e0 |
parent 1817 | 8b0520433350 |
child 2399 | fd9d94d518d2 |
--- a/samples/main-random-topology.cc Sun Dec 30 19:36:44 2007 -0800 +++ b/samples/main-random-topology.cc Wed Jan 02 09:09:24 2008 +0100 @@ -38,7 +38,7 @@ std::vector<Ptr<Object> > objects; for (uint32_t i = 0; i < 10000; i++) { - Ptr<MobilityModelNotifier> notifier = Create<MobilityModelNotifier> (); + Ptr<MobilityModelNotifier> notifier = CreateObject<MobilityModelNotifier> (); notifier->TraceConnect ("/course-change", MakeCallback (&CourseChange)); objects.push_back (notifier); }