make sure to get to the parent during trace resolution
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 28 Aug 2007 11:20:55 +0200
changeset 1373 0c71c081cffc
parent 1372 5967e5b2c737
child 1374 77468496f7e0
make sure to get to the parent during trace resolution
src/mobility/mobility-model-notifier.cc
--- a/src/mobility/mobility-model-notifier.cc	Tue Aug 28 11:01:00 2007 +0200
+++ b/src/mobility/mobility-model-notifier.cc	Tue Aug 28 11:20:55 2007 +0200
@@ -46,6 +46,7 @@
     Create<CompositeTraceResolver> ();
   resolver->AddSource ("course-change", "speed vector changed value",
                        m_trace);
+  resolver->SetParent (Object::GetTraceResolver ());
   return resolver;
 }