--- a/src/core/random-variable.cc Mon Apr 14 16:19:17 2008 -0700
+++ b/src/core/random-variable.cc Thu Apr 17 13:42:25 2008 -0700
@@ -299,20 +299,6 @@
{
return m_variable;
}
-RandomVariable::RandomVariable (Attribute value)
- : m_variable (0)
-{
- const RandomVariableValue *v = value.DynCast<const RandomVariableValue *> ();
- if (v == 0)
- {
- NS_FATAL_ERROR ("Unexpected type of value. Expected \"RandomVariableValue\"");
- }
- *this = v->Get ();
-}
-RandomVariable::operator Attribute () const
-{
- return Attribute (ns3::Create<RandomVariableValue> (*this));
-}
ATTRIBUTE_VALUE_IMPLEMENT (RandomVariable);
ATTRIBUTE_CHECKER_IMPLEMENT (RandomVariable);
@@ -1267,7 +1253,7 @@
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
-// Integer EmpiricalVariableImpl methods
+// IntegerValue EmpiricalVariableImpl methods
class IntEmpiricalVariableImpl : public EmpiricalVariableImpl {
public: