summaryrefslogtreecommitdiff
path: root/src/resources/map/mapobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/mapobject.h')
-rw-r--r--src/resources/map/mapobject.h8
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;
};