summaryrefslogtreecommitdiff
path: root/src/position.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-17 18:22:25 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-17 18:22:25 +0300
commit533172dc2df60406e2c7f08f36de3742721f8079 (patch)
tree3cdd02c2876a8eaeb8d852384e6214ecac13739c /src/position.h
parentfed37f530d063cbce6a9bba7f1a878c42e10367e (diff)
downloadmv-533172dc2df60406e2c7f08f36de3742721f8079.tar.gz
mv-533172dc2df60406e2c7f08f36de3742721f8079.tar.bz2
mv-533172dc2df60406e2c7f08f36de3742721f8079.tar.xz
mv-533172dc2df60406e2c7f08f36de3742721f8079.zip
Add missing A_DEFAULT_COPY / A_DELETE_COPY into other files.
Diffstat (limited to 'src/position.h')
-rw-r--r--src/position.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/position.h b/src/position.h
index 08d69d695..513448021 100644
--- a/src/position.h
+++ b/src/position.h
@@ -33,10 +33,14 @@
*/
struct Position final
{
- Position(const int x0, const int y0) :
- x(x0), y(y0)
+ Position(const int x0,
+ const int y0) :
+ x(x0),
+ y(y0)
{ }
+ A_DEFAULT_COPY(Position)
+
int x;
int y;
};