summaryrefslogtreecommitdiff
path: root/src/vector.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/vector.h
parentfed37f530d063cbce6a9bba7f1a878c42e10367e (diff)
downloadplus-533172dc2df60406e2c7f08f36de3742721f8079.tar.gz
plus-533172dc2df60406e2c7f08f36de3742721f8079.tar.bz2
plus-533172dc2df60406e2c7f08f36de3742721f8079.tar.xz
plus-533172dc2df60406e2c7f08f36de3742721f8079.zip
Add missing A_DEFAULT_COPY / A_DELETE_COPY into other files.
Diffstat (limited to 'src/vector.h')
-rw-r--r--src/vector.h6
1 files changed, 5 insertions, 1 deletions
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.