mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-11 23:40:57 +00:00
[C++] remove "= default" from constructor to support old compilers
This commit is contained in:
@@ -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; }
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user