From 533172dc2df60406e2c7f08f36de3742721f8079 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Jan 2017 18:22:25 +0300 Subject: Add missing A_DEFAULT_COPY / A_DELETE_COPY into other files. --- src/vector.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/vector.h') diff --git a/src/vector.h b/src/vector.h index c607484fd..6c06d90d9 100644 --- a/src/vector.h +++ b/src/vector.h @@ -50,7 +50,9 @@ class Vector final /** * Constructor. */ - Vector(const float x0, const float y0, const float z0 = 0.0F) : + Vector(const float x0, + const float y0, + const float z0 = 0.0F) : x(x0), y(y0), z(z0) @@ -65,6 +67,8 @@ class Vector final z(v.z) {} + A_DEFAULT_COPY(Vector) + /** * Returns true if all coordinates are set to 0, otherwise returns * false. -- cgit v1.2.3-60-g2f50