src/core/global-value.cc
changeset 2472 ae81f8ac1854
parent 2467 da5d68ddf6c5
child 2570 15d5421022a1
--- a/src/core/global-value.cc	Mon Feb 25 22:06:14 2008 +0100
+++ b/src/core/global-value.cc	Mon Feb 25 22:07:19 2008 +0100
@@ -1,12 +1,12 @@
 #include "global-value.h"
 #include "fatal-error.h"
-#include "object.h"
+#include "attribute.h"
 
 namespace ns3 {
 
 GlobalValue::GlobalValue (std::string name, std::string help,
-			    Attribute initialValue,
-			    Ptr<const AttributeChecker> checker)
+			  Attribute initialValue,
+			  Ptr<const AttributeChecker> checker)
   : m_name (name),
     m_help (help),
     m_initialValue (initialValue),
@@ -61,9 +61,6 @@
 	  return;
 	}
     }
-  // since we did not find a matching GlobalValue,
-  // we attempt to configure the global parameters list.
-  AttributeList::GetGlobal ()->Set (name, value);
 }
 GlobalValue::Iterator 
 GlobalValue::Begin (void)