summaryrefslogtreecommitdiff
path: root/src/resources/map/location.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-17 18:21:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-17 18:21:23 +0300
commit0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0 (patch)
tree99d5be24dafbf05ba3b30e603296222fe7e407dc /src/resources/map/location.h
parent45115a07e0753fe30bcaac59ec9f3ed4da5048c2 (diff)
downloadplus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.gz
plus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.bz2
plus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.xz
plus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.zip
Add missing A_DEFAULT_COPY / A_DELETE_COPY into resources.
Diffstat (limited to 'src/resources/map/location.h')
-rw-r--r--src/resources/map/location.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/resources/map/location.h b/src/resources/map/location.h
index c598c98f4..44d2619a7 100644
--- a/src/resources/map/location.h
+++ b/src/resources/map/location.h
@@ -35,10 +35,16 @@ struct Location final
/**
* Constructor.
*/
- Location(const int px, const int py, MetaTile *const ptile) :
- x(px), y(py), tile(ptile)
+ Location(const int px,
+ const int py,
+ MetaTile *const ptile) :
+ x(px),
+ y(py),
+ tile(ptile)
{}
+ A_DEFAULT_COPY(Location)
+
/**
* Comparison operator.
*/