use a specific type if you can
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Wed, 09 Apr 2008 17:27:56 -0700
changeset 2935 c24722e09df2
parent 2934 5bdc12f09798
child 2936 d108e5f0bd3e
use a specific type if you can
src/devices/wifi/wifi-net-device.cc
--- a/src/devices/wifi/wifi-net-device.cc	Wed Apr 09 17:27:12 2008 -0700
+++ b/src/devices/wifi/wifi-net-device.cc	Wed Apr 09 17:27:56 2008 -0700
@@ -40,7 +40,7 @@
                    Pointer (),
                    MakePointerAccessor (&WifiNetDevice::DoGetChannel,
                                         &WifiNetDevice::SetChannel),
-                   MakePointerChecker<Channel> ())
+                   MakePointerChecker<WifiChannel> ())
     .AddAttribute ("Phy", "XXX",
                    Pointer (),
                    MakePointerAccessor (&WifiNetDevice::GetPhy,