Use more C++17 features
Mainly structured bindings, inline variables, and class template
argument deduction, plus many more smaller things.
Change-Id: I810d17e0adb470426e4e30c898e03b3140ad052f
diff --git a/tests/daemon/mgmt/fib-manager.t.cpp b/tests/daemon/mgmt/fib-manager.t.cpp
index 6131670..544eda5 100644
--- a/tests/daemon/mgmt/fib-manager.t.cpp
+++ b/tests/daemon/mgmt/fib-manager.t.cpp
@@ -438,8 +438,7 @@
}
BOOST_CHECK_EQUAL(actualPrefixes.size(), 0);
- BOOST_CHECK_EQUAL_COLLECTIONS(receivedRecords.begin(), receivedRecords.end(),
- expectedRecords.begin(), expectedRecords.end());
+ BOOST_TEST(receivedRecords == expectedRecords, boost::test_tools::per_element());
}
BOOST_AUTO_TEST_SUITE_END() // List