From 45115a07e0753fe30bcaac59ec9f3ed4da5048c2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jan 2017 18:21:09 +0300 Subject: Add missing A_DEFAULT_COPY / A_DELETE_COPY into net. --- src/net/ea/inventoryitem.h | 2 ++ src/net/ea/token.h | 5 +++++ 2 files changed, 7 insertions(+) (limited to 'src/net/ea') 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 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; -- cgit v1.2.3-70-g09d2