const cleanup

This commit is contained in:
Timo Bingmann
2009-05-28 17:52:17 +02:00
parent 7e2cb3dd60
commit 53f38a0f41
2 changed files with 4 additions and 4 deletions

View File

@@ -232,7 +232,7 @@ DcaTxop::GetAifsn (void) const
}
void
DcaTxop::Queue (Ptr<const Packet> packet, WifiMacHeader const &hdr)
DcaTxop::Queue (Ptr<const Packet> packet, const WifiMacHeader &hdr)
{
NS_LOG_FUNCTION (this << packet << &hdr);
WifiMacTrailer fcs;

View File

@@ -67,8 +67,8 @@ class DcaTxop : public Object
public:
static TypeId GetTypeId (void);
typedef Callback <void, WifiMacHeader const&> TxOk;
typedef Callback <void, WifiMacHeader const&> TxFailed;
typedef Callback <void, const WifiMacHeader&> TxOk;
typedef Callback <void, const WifiMacHeader&> TxFailed;
DcaTxop ();
~DcaTxop ();
@@ -104,7 +104,7 @@ public:
* Store the packet in the internal queue until it
* can be sent safely.
*/
void Queue (Ptr<const Packet> packet, WifiMacHeader const &hdr);
void Queue (Ptr<const Packet> packet, const WifiMacHeader &hdr);
private:
class TransmissionListener;