mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-06 21:37:36 +00:00
Fix compilation error in tests. (#5472)
Local variables were shadowing member fields, causing errors.
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
2d5315ff0e
commit
acc9990abd
@@ -8,7 +8,7 @@ namespace Native {
|
||||
float z;
|
||||
|
||||
Vector3D() { x = 0; y = 0; z = 0; };
|
||||
Vector3D(float x, float y, float z) { this->x = x; this->y = y; this->z = z; }
|
||||
Vector3D(float _x, float _y, float _z) { this->x = _x; this->y = _y; this->z = _z; }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user