diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-17 18:21:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-17 18:21:23 +0300 |
commit | 0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0 (patch) | |
tree | 99d5be24dafbf05ba3b30e603296222fe7e407dc /src/resources/map/mapobject.h | |
parent | 45115a07e0753fe30bcaac59ec9f3ed4da5048c2 (diff) | |
download | mv-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.gz mv-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.bz2 mv-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.xz mv-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.zip |
Add missing A_DEFAULT_COPY / A_DELETE_COPY into resources.
Diffstat (limited to 'src/resources/map/mapobject.h')
-rw-r--r-- | src/resources/map/mapobject.h | 8 |
1 files changed, 6 insertions, 2 deletions
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; }; |