From 53f38a0f415ce2efb5b169b8218b6c8bc9eecb0b Mon Sep 17 00:00:00 2001 From: Timo Bingmann Date: Thu, 28 May 2009 17:52:17 +0200 Subject: [PATCH] const cleanup --- src/devices/wifi/dca-txop.cc | 2 +- src/devices/wifi/dca-txop.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/devices/wifi/dca-txop.cc b/src/devices/wifi/dca-txop.cc index c20bca9fe..0aff87242 100644 --- a/src/devices/wifi/dca-txop.cc +++ b/src/devices/wifi/dca-txop.cc @@ -232,7 +232,7 @@ DcaTxop::GetAifsn (void) const } void -DcaTxop::Queue (Ptr packet, WifiMacHeader const &hdr) +DcaTxop::Queue (Ptr packet, const WifiMacHeader &hdr) { NS_LOG_FUNCTION (this << packet << &hdr); WifiMacTrailer fcs; diff --git a/src/devices/wifi/dca-txop.h b/src/devices/wifi/dca-txop.h index 55a4f2106..7c4e2bb91 100644 --- a/src/devices/wifi/dca-txop.h +++ b/src/devices/wifi/dca-txop.h @@ -67,8 +67,8 @@ class DcaTxop : public Object public: static TypeId GetTypeId (void); - typedef Callback TxOk; - typedef Callback TxFailed; + typedef Callback TxOk; + typedef Callback TxFailed; DcaTxop (); ~DcaTxop (); @@ -104,7 +104,7 @@ public: * Store the packet in the internal queue until it * can be sent safely. */ - void Queue (Ptr packet, WifiMacHeader const &hdr); + void Queue (Ptr packet, const WifiMacHeader &hdr); private: class TransmissionListener;