samples/main-random-walk.cc
changeset 2594 a8f89acd17a1
parent 2577 5b41cb5c3fcf
child 2602 d9262bff6df2
--- a/samples/main-random-walk.cc	Tue Mar 11 13:34:29 2008 -0700
+++ b/samples/main-random-walk.cc	Tue Mar 11 13:46:22 2008 -0700
@@ -53,7 +53,7 @@
                              "Speed", String ("Constant:1.0"),
                              "Bounds", String ("0:200:0:100"));
   mobility.Layout (NodeList::Begin (), NodeList::End ());
-  Config::ConnectWithContext ("/NodeList/*/$MobilityModelNotifier/CourseChange",
+  Config::Connect ("/NodeList/*/$MobilityModelNotifier/CourseChange",
                               MakeCallback (&CourseChange));
 
   Simulator::StopAt (Seconds (100.0));