summaryrefslogtreecommitdiff
path: root/src/net/packetcounters.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/packetcounters.h')
-rw-r--r--src/net/packetcounters.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/packetcounters.h b/src/net/packetcounters.h
index afb5dab90..713a13451 100644
--- a/src/net/packetcounters.h
+++ b/src/net/packetcounters.h
@@ -28,7 +28,7 @@
class PacketCounters final
{
public:
- static void incInBytes(int cnt);
+ static void incInBytes(const int cnt);
static void incInPackets();
@@ -36,7 +36,7 @@ public:
static int getInPackets() A_WARN_UNUSED;
- static void incOutBytes(int cnt);
+ static void incOutBytes(const int cnt);
static void incOutPackets();