src/core/attribute.h
changeset 5505 c0ac392289c3
parent 3997 a66553c56a8f
     1.1 --- a/src/core/attribute.h	Tue Dec 09 20:29:04 2008 -0800
     1.2 +++ b/src/core/attribute.h	Thu Nov 12 13:01:01 2009 +0100
     1.3 @@ -23,7 +23,7 @@
     1.4  #include <string>
     1.5  #include <stdint.h>
     1.6  #include "ptr.h"
     1.7 -#include "ref-count-base.h"
     1.8 +#include "simple-ref-count.h"
     1.9  
    1.10  namespace ns3 {
    1.11  
    1.12 @@ -48,7 +48,7 @@
    1.13   * Most subclasses of this base class are implemented by the 
    1.14   * ATTRIBUTE_HELPER_* macros.
    1.15   */
    1.16 -class AttributeValue : public RefCountBase
    1.17 +class AttributeValue : public SimpleRefCount<AttributeValue>
    1.18  {
    1.19  public:
    1.20    AttributeValue ();
    1.21 @@ -94,7 +94,7 @@
    1.22   * of this base class are usually provided through the MakeAccessorHelper
    1.23   * template functions, hidden behind an ATTRIBUTE_HELPER_* macro.
    1.24   */
    1.25 -class AttributeAccessor : public RefCountBase
    1.26 +class AttributeAccessor : public SimpleRefCount<AttributeAccessor>
    1.27  {
    1.28  public:
    1.29    AttributeAccessor ();
    1.30 @@ -146,7 +146,7 @@
    1.31   * Most subclasses of this base class are implemented by the 
    1.32   * ATTRIBUTE_HELPER_HEADER and ATTRIBUTE_HELPER_CPP macros.
    1.33   */
    1.34 -class AttributeChecker : public RefCountBase
    1.35 +class AttributeChecker : public SimpleRefCount<AttributeChecker>
    1.36  {
    1.37  public:
    1.38    AttributeChecker ();