mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 15:08:28 -04:00
348b07609c
Avoid warnings like: [2130/2168] Compiling libraries/AP_Math/tests/test_math.cpp ../../libraries/AP_Math/tests/test_math.cpp: In member function ‘virtual void MathTest_IsZero_Test::TestBody()’: ../../libraries/AP_Math/tests/test_math.cpp:73:196: warning: converting ‘false’ to pointer type for argument 1 of ‘char testing::internal::IsNullLiteralHelper(testing::internal::Secret*)’ [-Wconversion-null] ../../libraries/AP_Math/tests/test_math.cpp:74:199: warning: converting ‘false’ to pointer type for argument 1 of ‘char testing::internal::IsNullLiteralHelper(testing::internal::Secret*)’ [-Wconversion-null] Use EXPECT_TRUE() and EXPECT_FALSE() from gtest instead. |
||
---|---|---|
.. | ||
benchmarks | ||
examples | ||
tests | ||
AP_Math.cpp | ||
AP_Math.h | ||
definitions.h | ||
edc.cpp | ||
edc.h | ||
keywords.txt | ||
location.cpp | ||
location.h | ||
matrix3.cpp | ||
matrix3.h | ||
matrix_alg.cpp | ||
polygon.cpp | ||
polygon.h | ||
quaternion.cpp | ||
quaternion.h | ||
rotations.h | ||
vector2.cpp | ||
vector2.h | ||
vector3.cpp | ||
vector3.h | ||
vectorN.h |