summaryrefslogtreecommitdiff
path: root/src/net/packetlimiter.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-17 18:21:09 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-17 18:21:09 +0300
commit45115a07e0753fe30bcaac59ec9f3ed4da5048c2 (patch)
treeff2b5604dfcdcf35e6f645595e9a74cdfd5ac121 /src/net/packetlimiter.cpp
parent53ec80d8a45cf7e164c614484fe42b83eb18521c (diff)
downloadmv-45115a07e0753fe30bcaac59ec9f3ed4da5048c2.tar.gz
mv-45115a07e0753fe30bcaac59ec9f3ed4da5048c2.tar.bz2
mv-45115a07e0753fe30bcaac59ec9f3ed4da5048c2.tar.xz
mv-45115a07e0753fe30bcaac59ec9f3ed4da5048c2.zip
Add missing A_DEFAULT_COPY / A_DELETE_COPY into net.
Diffstat (limited to 'src/net/packetlimiter.cpp')
-rw-r--r--src/net/packetlimiter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/packetlimiter.cpp b/src/net/packetlimiter.cpp
index 6f7ac55cb..8c34b6919 100644
--- a/src/net/packetlimiter.cpp
+++ b/src/net/packetlimiter.cpp
@@ -33,6 +33,8 @@
struct PacketLimit final
{
+ A_DEFAULT_COPY(PacketLimit)
+
int lastTime;
int timeLimit;
int cnt;