From 0d73d348652365f1606d148f73c6b2d28e69e72f Mon Sep 17 00:00:00 2001 From: weidai Date: Mon, 11 Dec 2006 09:17:56 +0000 Subject: [PATCH] minor style fix --- network.cpp | 2 +- network.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;