summaryrefslogtreecommitdiff
path: root/src/position.h
diff options
context:
space:
mode:
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;
};