summaryrefslogtreecommitdiff
path: root/src/net/packetcounters.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-26 13:01:42 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-26 13:01:42 +0300
commit6a9b7eb45844274b0a4b6d52f7f32aa724541468 (patch)
tree80115f7d95ed9881c1eb9701dd632bb5aa1c9dc5 /src/net/packetcounters.h
parentc87f02c075919337018b534b6f8ef2c97160c883 (diff)
downloadplus-6a9b7eb45844274b0a4b6d52f7f32aa724541468.tar.gz
plus-6a9b7eb45844274b0a4b6d52f7f32aa724541468.tar.bz2
plus-6a9b7eb45844274b0a4b6d52f7f32aa724541468.tar.xz
plus-6a9b7eb45844274b0a4b6d52f7f32aa724541468.zip
add restrict into packetcounters.
Diffstat (limited to 'src/net/packetcounters.h')
-rw-r--r--src/net/packetcounters.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/packetcounters.h b/src/net/packetcounters.h
index 713a13451..9fae01ff1 100644
--- a/src/net/packetcounters.h
+++ b/src/net/packetcounters.h
@@ -58,7 +58,9 @@ public:
static int mOutPacketsCalc;
private:
- static void updateCounter(int &currentSec, int &calc, int &counter);
+ static void updateCounter(int &restrict currentSec,
+ int &restrict calc,
+ int &restrict counter);
};
#endif // NET_PACKETCOUNTERS_H