From 0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jan 2017 18:21:23 +0300 Subject: Add missing A_DEFAULT_COPY / A_DELETE_COPY into resources. --- src/resources/map/mapobject.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/resources/map/mapobject.h') diff --git a/src/resources/map/mapobject.h b/src/resources/map/mapobject.h index d76dcd2e9..07b25d3ec 100644 --- a/src/resources/map/mapobject.h +++ b/src/resources/map/mapobject.h @@ -30,11 +30,15 @@ class MapObject final { public: - MapObject(const int type0, const std::string &data0) : - type(type0), data(data0) + MapObject(const int type0, + const std::string &data0) : + type(type0), + data(data0) { } + A_DEFAULT_COPY(MapObject) + int type; std::string data; }; -- cgit v1.2.3-70-g09d2