summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network.cpp2
-rw-r--r--network.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/network.cpp b/network.cpp
index 24f5013..841c2bf 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 4373862..99ab6fb 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;