Bugzilla – Bug 105
Queue getter methods should be const
Last modified: 2007-11-21 07:43:10 UTC
The following Queue methods should be const: bool IsEmpty (void); bool Peek (Packet &p); uint32_t GetNPackets (void); uint32_t GetNBytes (void); uint32_t GetTotalReceivedBytes (void); uint32_t GetTotalReceivedPackets (void); uint32_t GetTotalDroppedBytes (void); uint32_t GetTotalDroppedPackets (void);
Peek calls DoPeek, so DoPeek also should be const.
ok. Please, apply.
Created attachment 90 [details] patch
yes, please apply
changeset cb17b9a8625b