From 1c1860cf83ba5d504b69c0ebd737139c8ab1bd46 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 28 Jul 2014 20:06:31 +0300 Subject: Fix formatting in net files. --- src/net/packetcounters.h | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'src/net/packetcounters.h') diff --git a/src/net/packetcounters.h b/src/net/packetcounters.h index 40e104794..12d9db09f 100644 --- a/src/net/packetcounters.h +++ b/src/net/packetcounters.h @@ -27,40 +27,40 @@ class PacketCounters final { -public: - static void incInBytes(const int cnt); + public: + static void incInBytes(const int cnt); - static void incInPackets(); + static void incInPackets(); - static int getInBytes() A_WARN_UNUSED; + static int getInBytes() A_WARN_UNUSED; - static int getInPackets() A_WARN_UNUSED; + static int getInPackets() A_WARN_UNUSED; - static void incOutBytes(const int cnt); + static void incOutBytes(const int cnt); - static void incOutPackets(); + static void incOutPackets(); - static int getOutBytes() A_WARN_UNUSED; + static int getOutBytes() A_WARN_UNUSED; - static int getOutPackets() A_WARN_UNUSED; + static int getOutPackets() A_WARN_UNUSED; - static void update(); + static void update(); - static int mInCurrentSec; - static int mInBytes; - static int mInBytesCalc; - static int mInPackets; - static int mInPacketsCalc; - static int mOutCurrentSec; - static int mOutBytes; - static int mOutBytesCalc; - static int mOutPackets; - static int mOutPacketsCalc; + static int mInCurrentSec; + static int mInBytes; + static int mInBytesCalc; + static int mInPackets; + static int mInPacketsCalc; + static int mOutCurrentSec; + static int mOutBytes; + static int mOutBytesCalc; + static int mOutPackets; + static int mOutPacketsCalc; -private: - static void updateCounter(int &restrict currentSec, - int &restrict calc, - int &restrict counter); + private: + static void updateCounter(int &restrict currentSec, + int &restrict calc, + int &restrict counter); }; #endif // NET_PACKETCOUNTERS_H -- cgit v1.2.3-70-g09d2