utils/mobility-visualizer-model.cc
changeset 2230 9f13ac3291e0
parent 1818 fbdc8361dc77
child 2231 a5b898c1ee2c
--- a/utils/mobility-visualizer-model.cc	Sun Dec 30 19:36:44 2007 -0800
+++ b/utils/mobility-visualizer-model.cc	Wed Jan 02 09:09:24 2008 +0100
@@ -92,8 +92,8 @@
 
   for (uint32_t i = 0; i < g_numNodes; i++)
     {
-      Ptr<Node> node = Create<Node> ();
-      node->AddInterface (Create<MobilityModelNotifier> ());
+      Ptr<Node> node = CreateObject<Node> ();
+      node->AddInterface (CreateObject<MobilityModelNotifier> ());
     }
 
   topology.Layout (NodeList::Begin (), NodeList::End ());