From 78744020528ef6231e1606bbe2e8c53011c77935 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 18 Sep 2013 21:52:15 +0300 Subject: add const to net classes. --- src/net/packetcounters.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/packetcounters.h') 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(); -- cgit v1.2.3-70-g09d2