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/location.h | |
parent | 45115a07e0753fe30bcaac59ec9f3ed4da5048c2 (diff) | |
download | manaplus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.gz manaplus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.bz2 manaplus-0f64a06317df182ab0ff4a0ae9fbe1aad880dcc0.tar.xz manaplus-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.h | 10 |
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. */ |