--- a/utils/print-introspected-doxygen.cc Sun Dec 30 19:36:44 2007 -0800
+++ b/utils/print-introspected-doxygen.cc Wed Jan 02 09:09:24 2008 +0100
@@ -116,12 +116,12 @@
int main (int argc, char *argv[])
{
- Ptr<Node> node = Create<InternetNode> ();
- node->AddInterface (Create<MobilityModelNotifier> ());
+ Ptr<Node> node = CreateObject<InternetNode> ();
+ node->AddInterface (CreateObject<MobilityModelNotifier> ());
- Ptr<PointToPointNetDevice> p2p = Create<PointToPointNetDevice> (node);
+ Ptr<PointToPointNetDevice> p2p = CreateObject<PointToPointNetDevice> (node);
p2p->AddQueue (Queue::CreateDefault ());
- Ptr<CsmaNetDevice> csma = Create<CsmaNetDevice> (node);
+ Ptr<CsmaNetDevice> csma = CreateObject<CsmaNetDevice> (node);
csma->AddQueue (Queue::CreateDefault ());
TraceResolver::SourceCollection collection;