src/devices/wifi/propagation-delay-model.h
changeset 2336 28ce210b91bb
parent 2034 8664ab76ff85
child 2549 fe90cf0b2c63
--- a/src/devices/wifi/propagation-delay-model.h	Fri Feb 15 19:14:35 2008 +0100
+++ b/src/devices/wifi/propagation-delay-model.h	Fri Feb 15 20:03:48 2008 +0100
@@ -23,13 +23,12 @@
 #include "ns3/ptr.h"
 #include "ns3/object.h"
 #include "ns3/nstime.h"
+#include "ns3/random-variable.h"
 
 namespace ns3 {
 
 class MobilityModel;
 
-class RandomVariable;
-
 /**
  * \brief calculate a propagation delay.
  */
@@ -71,7 +70,7 @@
   virtual ~RandomPropagationDelayModel ();
   virtual Time GetDelay (Ptr<MobilityModel> a, Ptr<MobilityModel> b) const;
 private:
-  RandomVariable *m_variable;
+  RandomVariable m_variable;
 };
 
 /**