src/core/attribute-helper.h
changeset 2947 b0fec3381418
parent 2867 d63b525e3f80
child 2965 4b28e9740e3b
--- a/src/core/attribute-helper.h	Thu Apr 10 12:59:15 2008 -0700
+++ b/src/core/attribute-helper.h	Thu Apr 10 12:59:31 2008 -0700
@@ -46,7 +46,7 @@
       return "";
     }
     virtual Attribute Create (void) const {
-      return Attribute::Create<T> ();
+      return Attribute (ns3::Create<T> ());
     }
     std::string m_type;
   } *checker = new SimpleAttributeChecker ();
@@ -168,7 +168,7 @@
   }									\
   Attribute								\
   type##Value::Copy (void) const {					\
-    return Attribute::Create<type##Value> (*this);			\
+    return Attribute (ns3::Create<type##Value> (*this));                \
   }									\
   type##Value::type##Value (Attribute value)				\
   {									\
@@ -181,7 +181,7 @@
   }									\
   type##Value::operator Attribute () const				\
   {									\
-    return Attribute::Create<type##Value> (*this);			\
+    return Attribute (ns3::Create<type##Value> (*this));                \
   }
 
 /**
@@ -241,7 +241,7 @@
   }									\
   type::operator Attribute () const					\
   {									\
-    return Attribute::Create<type##Value> (*this);			\
+    return Attribute (ns3::Create<type##Value> (*this));                \
   }