From e4740a31249b33a7a35c4176a04dbe87784f1af1 Mon Sep 17 00:00:00 2001 From: Alexey Geraskin Date: Wed, 17 Jul 2019 15:07:09 +0300 Subject: [PATCH] [C++] remove "= default" from constructor to support old compilers --- tests/vector3d.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/vector3d.h b/tests/vector3d.h index 62f55094a..cbd821d6d 100644 --- a/tests/vector3d.h +++ b/tests/vector3d.h @@ -3,12 +3,11 @@ namespace Native { struct Vector3D { - public: double x; double y; double z; - Vector3D() = default; + Vector3D() { x = 0; y = 0; z = 0; }; Vector3D(double x, double y, double z) { this->x = x; this->y = y; this->z = z; } }; }