utils/print-introspected-doxygen.cc
changeset 2592 3ebf97150166
parent 2577 5b41cb5c3fcf
child 2600 6c389d0c717d
--- a/utils/print-introspected-doxygen.cc	Tue Mar 11 11:35:26 2008 -0700
+++ b/utils/print-introspected-doxygen.cc	Tue Mar 11 13:30:12 2008 -0700
@@ -17,11 +17,11 @@
   Ptr<Node> node = CreateObject<InternetNode> ();
   node->AggregateObject (CreateObject<MobilityModelNotifier> ());
 
-  Ptr<PointToPointNetDevice> p2p = CreateObjectWith<PointToPointNetDevice> ("Node", node, 
+  Ptr<PointToPointNetDevice> p2p = CreateObject<PointToPointNetDevice> ("Node", node, 
 									    "Address", Mac48Address::Allocate ());
   node->AddDevice (p2p);
   p2p->AddQueue (CreateObject<DropTailQueue> ());
-  Ptr<CsmaNetDevice> csma = CreateObjectWith<CsmaNetDevice> ("Node", node, 
+  Ptr<CsmaNetDevice> csma = CreateObject<CsmaNetDevice> ("Node", node, 
 							     "Address", Mac48Address::Allocate (),
 							     "EncapsulationMode", String ("Llc"));
   node->AddDevice (csma);