1.1 --- a/src/contrib/flow-monitor/flow-probe.h Tue Sep 08 17:33:05 2009 +0100
1.2 +++ b/src/contrib/flow-monitor/flow-probe.h Thu Nov 12 13:01:01 2009 +0100
1.3 @@ -24,7 +24,7 @@
1.4 #include <map>
1.5 #include <vector>
1.6
1.7 -#include "ns3/ref-count-base.h"
1.8 +#include "ns3/simple-ref-count.h"
1.9 #include "ns3/flow-classifier.h"
1.10 #include "ns3/nstime.h"
1.11
1.12 @@ -36,14 +36,14 @@
1.13 /// in a specific point of the simulated space, report those events to
1.14 /// the global FlowMonitor, and collect its own flow statistics
1.15 /// regarding only the packets that pass through that probe.
1.16 -class FlowProbe : public RefCountBase
1.17 +class FlowProbe : public SimpleRefCount<FlowProbe>
1.18 {
1.19 protected:
1.20
1.21 FlowProbe (Ptr<FlowMonitor> flowMonitor);
1.22
1.23 public:
1.24 - ~FlowProbe ();
1.25 + virtual ~FlowProbe ();
1.26
1.27 struct FlowStats
1.28 {