summaryrefslogtreecommitdiff
path: root/src/net/packetcounters.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-18 21:52:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-18 21:52:15 +0300
commit78744020528ef6231e1606bbe2e8c53011c77935 (patch)
tree3055821a8dabab37c660fdc3b99309f970158b69 /src/net/packetcounters.cpp
parentc0d5142d1ed98b62ad87603fa9d2620dce256bd7 (diff)
downloadManaVerse-78744020528ef6231e1606bbe2e8c53011c77935.tar.gz
ManaVerse-78744020528ef6231e1606bbe2e8c53011c77935.tar.bz2
ManaVerse-78744020528ef6231e1606bbe2e8c53011c77935.tar.xz
ManaVerse-78744020528ef6231e1606bbe2e8c53011c77935.zip
add const to net classes.
Diffstat (limited to 'src/net/packetcounters.cpp')
-rw-r--r--src/net/packetcounters.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/packetcounters.cpp b/src/net/packetcounters.cpp
index 5b3faeb06..65ece62f8 100644
--- a/src/net/packetcounters.cpp
+++ b/src/net/packetcounters.cpp
@@ -38,7 +38,7 @@ int PacketCounters::mOutBytesCalc = 0;
int PacketCounters::mOutPackets = 0;
int PacketCounters::mOutPacketsCalc = 0;
-void PacketCounters::incInBytes(int cnt)
+void PacketCounters::incInBytes(const int cnt)
{
if (!runCounters)
return;
@@ -70,7 +70,7 @@ int PacketCounters::getInPackets()
return PacketCounters::mInPacketsCalc;
}
-void PacketCounters::incOutBytes(int cnt)
+void PacketCounters::incOutBytes(const int cnt)
{
if (!runCounters)
return;