src/contrib/flow-monitor/flow-classifier.h
changeset 5505 c0ac392289c3
parent 5210 2acc35ea1e80
child 5877 24dd3b1a0bb6
     1.1 --- a/src/contrib/flow-monitor/flow-classifier.h	Tue Sep 08 17:33:05 2009 +0100
     1.2 +++ b/src/contrib/flow-monitor/flow-classifier.h	Thu Nov 12 13:01:01 2009 +0100
     1.3 @@ -21,7 +21,7 @@
     1.4  #ifndef __FLOW_CLASSIFIER_H__
     1.5  #define __FLOW_CLASSIFIER_H__
     1.6  
     1.7 -#include "ns3/ref-count-base.h"
     1.8 +#include "ns3/simple-ref-count.h"
     1.9  #include <ostream>
    1.10  
    1.11  namespace ns3 {
    1.12 @@ -39,13 +39,14 @@
    1.13  /// statistics reference only those abstract identifiers in order to
    1.14  /// keep the core architecture generic and not tied down to any
    1.15  /// particular flow capture method or classification system.
    1.16 -class FlowClassifier : public RefCountBase
    1.17 +class FlowClassifier : public SimpleRefCount<FlowClassifier>
    1.18  {
    1.19    FlowId m_lastNewFlowId;
    1.20  
    1.21  public:
    1.22  
    1.23    FlowClassifier ();
    1.24 +  virtual ~FlowClassifier ();
    1.25  
    1.26    virtual void SerializeToXmlStream (std::ostream &os, int indent) const = 0;
    1.27