minor style fix

pull/2/head
weidai 2006-12-11 09:17:56 +00:00
parent 5443c8f036
commit 0d73d34865
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ double LimitedBandwidth::GetCurTimeAndCleanUp()
return curTime; return curTime;
} }
void LimitedBandwidth::GetWaitObjects(WaitObjectContainer &container, CallStack const& callStack) void LimitedBandwidth::GetWaitObjects(WaitObjectContainer &container, const CallStack &callStack)
{ {
double nextTransceiveTime = TimeToNextTransceive(); double nextTransceiveTime = TimeToNextTransceive();
if (nextTransceiveTime) if (nextTransceiveTime)

View File

@ -32,7 +32,7 @@ public:
/*! GetWaitObjects() must be called despite the 0 return from GetMaxWaitObjectCount(); /*! 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 */ the 0 is because the ScheduleEvent() method is used instead of adding a wait object */
unsigned int GetMaxWaitObjectCount() const { return 0; } unsigned int GetMaxWaitObjectCount() const { return 0; }
void GetWaitObjects(WaitObjectContainer &container, CallStack const& callStack); void GetWaitObjects(WaitObjectContainer &container, const CallStack &callStack);
private: private:
lword m_maxBytesPerSecond; lword m_maxBytesPerSecond;