fix typename
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 19 Mar 2008 15:30:18 -0700
changeset 2625 90ba95050923
parent 2624 17172ab64e3f
child 2626 bc07dd340992
fix typename
src/devices/wifi/propagation-delay-model.cc
--- a/src/devices/wifi/propagation-delay-model.cc	Wed Mar 19 15:14:17 2008 -0700
+++ b/src/devices/wifi/propagation-delay-model.cc	Wed Mar 19 15:30:18 2008 -0700
@@ -27,10 +27,12 @@
 PropagationDelayModel::~PropagationDelayModel ()
 {}
 
+NS_OBJECT_ENSURE_REGISTERED (RandomPropagationDelayModel);
+
 TypeId 
 RandomPropagationDelayModel::GetTypeId (void)
 {
-  static TypeId tid = TypeId ("RandomPropagationDelayModel")
+  static TypeId tid = TypeId ("ns3::RandomPropagationDelayModel")
     .SetParent<PropagationDelayModel> ()
     .AddConstructor<RandomPropagationDelayModel> ()
     .AddAttribute ("Variable",
@@ -52,10 +54,12 @@
   return Seconds (m_variable.GetValue ());
 }
 
+NS_OBJECT_ENSURE_REGISTERED (ConstantSpeedPropagationDelayModel);
+
 TypeId
 ConstantSpeedPropagationDelayModel::GetTypeId (void)
 {
-  static TypeId tid = TypeId ("ConstantSpeedPropagationDelayModel")
+  static TypeId tid = TypeId ("ns3::ConstantSpeedPropagationDelayModel")
     .SetParent<PropagationDelayModel> ()
     .AddConstructor<ConstantSpeedPropagationDelayModel> ()
     .AddAttribute ("Speed", "The speed (m/s)",