From f483eaed601fcf5782cf60e24b4c05c42d1440b6 Mon Sep 17 00:00:00 2001 From: HiddenBug <53543663+HiddenBug@users.noreply.github.com> Date: Mon, 18 Nov 2019 08:48:00 +0100 Subject: [PATCH] Unify size_t usage in speed observer unit test Co-Authored-By: leunMar <36481640+leunMar@users.noreply.github.com> --- .../test/unittests/unittest_speed_observer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prbt_hardware_support/test/unittests/unittest_speed_observer.cpp b/prbt_hardware_support/test/unittests/unittest_speed_observer.cpp index bda126718..4deda4c22 100644 --- a/prbt_hardware_support/test/unittests/unittest_speed_observer.cpp +++ b/prbt_hardware_support/test/unittests/unittest_speed_observer.cpp @@ -155,7 +155,7 @@ MATCHER_P2(SpeedAtILe, i, x, "Speed at index " + PrintToString(i) + std::string(negation ? "is not" : "is") + " less or equal to" + PrintToString(x) + ".") { - return static_cast(i) < arg->name.size() && arg->speed.at(static_cast(i)) <= x; + return static_cast(i) < arg->name.size() && arg->speed.at(static_cast(i)) <= x; } /**