projects
/
platform
/
upstream
/
flatbuffers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d5315f
)
Fix compilation error in tests. (#5472)
author
Max Burke
<maxburke@gmail.com>
Mon, 5 Aug 2019 18:57:54 +0000
(11:57 -0700)
committer
Wouter van Oortmerssen
<aardappel@gmail.com>
Mon, 5 Aug 2019 18:57:54 +0000
(11:57 -0700)
Local variables were shadowing member fields, causing errors.
tests/native_type_test_impl.h
patch
|
blob
|
history
diff --git
a/tests/native_type_test_impl.h
b/tests/native_type_test_impl.h
index
c6efff4
..
2473ad3
100644
(file)
--- a/
tests/native_type_test_impl.h
+++ b/
tests/native_type_test_impl.h
@@
-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; }
};
}