diff --git a/network.cpp b/network.cpp index 24f5013d..841c2bf2 100644 --- a/network.cpp +++ b/network.cpp @@ -62,7 +62,7 @@ double LimitedBandwidth::GetCurTimeAndCleanUp() return curTime; } -void LimitedBandwidth::GetWaitObjects(WaitObjectContainer &container, CallStack const& callStack) +void LimitedBandwidth::GetWaitObjects(WaitObjectContainer &container, const CallStack &callStack) { double nextTransceiveTime = TimeToNextTransceive(); if (nextTransceiveTime) diff --git a/network.h b/network.h index 4373862d..99ab6fb6 100644 --- a/network.h +++ b/network.h @@ -32,7 +32,7 @@ public: /*! GetWaitObjects() must be called despite the 0 return from GetMaxWaitObjectCount(); the 0 is because the ScheduleEvent() method is used instead of adding a wait object */ unsigned int GetMaxWaitObjectCount() const { return 0; } - void GetWaitObjects(WaitObjectContainer &container, CallStack const& callStack); + void GetWaitObjects(WaitObjectContainer &container, const CallStack &callStack); private: lword m_maxBytesPerSecond;