Fix warnings in unit tests

This commit is contained in:
Patrick Niklaus 2018-02-01 14:15:46 +00:00 committed by Patrick Niklaus
parent fa553659de
commit 425a46fe78

View File

@ -99,11 +99,6 @@ BOOST_AUTO_TEST_CASE(test_match_split)
waypoint_object.values.at("matchings_index").get<json::Number>().value;
const auto waypoint_index =
waypoint_object.values.at("waypoint_index").get<json::Number>().value;
const auto &route_legs = matchings[matchings_index]
.get<json::Object>()
.values.at("legs")
.get<json::Array>()
.values;
BOOST_CHECK_LT(matchings_index, number_of_matchings);