mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 18:00:35 +08:00
Strict warnings in the unit tests. This commit needs to be carefully reviewed.
This commit is contained in:
@@ -142,7 +142,7 @@ TEST(Map, Basic)
|
||||
{
|
||||
ASSERT_EQ(value, *res);
|
||||
}
|
||||
max_key_integer = i;
|
||||
max_key_integer = unsigned(i);
|
||||
}
|
||||
std::cout << "Max key/value: " << max_key_integer << std::endl;
|
||||
ASSERT_LT(4, max_key_integer);
|
||||
|
||||
Reference in New Issue
Block a user