--- 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)