[C++] remove "= default" from constructor to support old compilers

This commit is contained in:
Alexey Geraskin
2019-07-17 15:07:09 +03:00
parent 5bafa33690
commit e4740a3124

View File

@@ -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; }
};
}