utils/print-introspected-doxygen.cc
changeset 2230 9f13ac3291e0
parent 1855 ee15fef0cb62
child 2253 dfa0f692e38a
     1.1 --- a/utils/print-introspected-doxygen.cc	Thu Nov 15 10:35:55 2007 +0100
     1.2 +++ b/utils/print-introspected-doxygen.cc	Wed Jan 02 09:09:24 2008 +0100
     1.3 @@ -116,12 +116,12 @@
     1.4  
     1.5  int main (int argc, char *argv[])
     1.6  {
     1.7 -  Ptr<Node> node = Create<InternetNode> ();
     1.8 -  node->AddInterface (Create<MobilityModelNotifier> ());
     1.9 +  Ptr<Node> node = CreateObject<InternetNode> ();
    1.10 +  node->AddInterface (CreateObject<MobilityModelNotifier> ());
    1.11  
    1.12 -  Ptr<PointToPointNetDevice> p2p = Create<PointToPointNetDevice> (node);
    1.13 +  Ptr<PointToPointNetDevice> p2p = CreateObject<PointToPointNetDevice> (node);
    1.14    p2p->AddQueue (Queue::CreateDefault ());
    1.15 -  Ptr<CsmaNetDevice> csma = Create<CsmaNetDevice> (node);
    1.16 +  Ptr<CsmaNetDevice> csma = CreateObject<CsmaNetDevice> (node);
    1.17    csma->AddQueue (Queue::CreateDefault ());
    1.18  
    1.19    TraceResolver::SourceCollection collection;