summaryrefslogtreecommitdiff
path: root/src/net/ea
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/ea
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/ea')
-rw-r--r--src/net/ea/inventoryitem.h2
-rw-r--r--src/net/ea/token.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/ea/inventoryitem.h b/src/net/ea/inventoryitem.h
index 4c9523a9a..bc5611dfc 100644
--- a/src/net/ea/inventoryitem.h
+++ b/src/net/ea/inventoryitem.h
@@ -85,6 +85,8 @@ class InventoryItem final
for (int f = 0; f < 4; f ++)
cards[f] = cards0[f];
}
+
+ A_DEFAULT_COPY(InventoryItem)
};
typedef std::vector<InventoryItem> InventoryItems;
diff --git a/src/net/ea/token.h b/src/net/ea/token.h
index b63c56232..b9c0eb1ad 100644
--- a/src/net/ea/token.h
+++ b/src/net/ea/token.h
@@ -28,6 +28,11 @@
struct Token final
{
+ Token()
+ { }
+
+ A_DELETE_COPY(Token)
+
BeingId account_ID;
int session_ID1;
int session_ID2;