Change upper-bounded TimeChecker to actually do what documentation says

This commit is contained in:
Vedran Miletić
2013-07-26 14:17:48 +02:00
parent d14530f0ca
commit 19c09725a9

View File

@@ -692,9 +692,9 @@ Ptr<const AttributeChecker> MakeTimeChecker (void)
* \return the AttributeChecker
*/
inline
Ptr<const AttributeChecker> MakeTimeChecker (const Time min)
Ptr<const AttributeChecker> MakeTimeChecker (const Time max)
{
return MakeTimeChecker (min, Time::Max ());
return MakeTimeChecker (Time::Min (), max);
}