get rid of very long constructor

This commit is contained in:
Mathieu Lacage
2008-01-30 19:13:21 +01:00
parent 5b5649de74
commit 328190ca63

View File

@@ -118,8 +118,7 @@ RandomDiscPosition::GetTypeId (void)
{
static TypeId tid = TypeId ("RandomDiscPosition")
.SetParent<RandomPosition> ()
.AddConstructor<RandomDiscPosition> ()
.AddConstructor<RandomDiscPosition, const RandomVariable &, const RandomVariable &, double, double> ();
.AddConstructor<RandomDiscPosition> ();
return tid;
}