summaryrefslogtreecommitdiff
path: root/src/net/packetcounters.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-28 20:06:31 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-28 20:06:31 +0300
commit1c1860cf83ba5d504b69c0ebd737139c8ab1bd46 (patch)
tree93708fb9f6c0bcffa18a10590b512dd20f0183c5 /src/net/packetcounters.h
parentbe9b998b2ee87c0238c2ed1b41c8c2bc723f4ce4 (diff)
downloadplus-1c1860cf83ba5d504b69c0ebd737139c8ab1bd46.tar.gz
plus-1c1860cf83ba5d504b69c0ebd737139c8ab1bd46.tar.bz2
plus-1c1860cf83ba5d504b69c0ebd737139c8ab1bd46.tar.xz
plus-1c1860cf83ba5d504b69c0ebd737139c8ab1bd46.zip
Fix formatting in net files.
Diffstat (limited to 'src/net/packetcounters.h')
-rw-r--r--src/net/packetcounters.h48
1 files changed, 24 insertions, 24 deletions
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