changeset 2230 | 9f13ac3291e0 |
parent 1866 | e7dbcc4df546 |
child 2250 | 18f432098389 |
--- a/samples/main-simple.cc Sun Dec 30 19:36:44 2007 -0800 +++ b/samples/main-simple.cc Wed Jan 02 09:09:24 2008 +0100 @@ -40,7 +40,7 @@ void RunSimulation (void) { - Ptr<Node> a = Create<InternetNode> (); + Ptr<Node> a = CreateObject<InternetNode> (); InterfaceId iid = InterfaceId::LookupByName ("Udp"); Ptr<SocketFactory> socketFactory = a->QueryInterface<SocketFactory> (iid);