use a specific type if you can

This commit is contained in:
Mathieu Lacage
2008-04-09 17:27:56 -07:00
parent 776a594c3c
commit cff773b8d2

View File

@@ -40,7 +40,7 @@ WifiNetDevice::GetTypeId (void)
Pointer (),
MakePointerAccessor (&WifiNetDevice::DoGetChannel,
&WifiNetDevice::SetChannel),
MakePointerChecker<Channel> ())
MakePointerChecker<WifiChannel> ())
.AddAttribute ("Phy", "XXX",
Pointer (),
MakePointerAccessor (&WifiNetDevice::GetPhy,