SWDEV-1 - Fix warnings while building tests (#201)

Change-Id: I7faf3446f8c9dafbbfc6bab4c6c1b756f0e4219d
Этот коммит содержится в:
Maneesh Gupta
2023-03-14 21:42:20 +05:30
коммит произвёл GitHub
родитель a25ea2ca40
Коммит ac4267e21e
13 изменённых файлов: 46 добавлений и 39 удалений
+1 -1
Просмотреть файл
@@ -40,7 +40,7 @@ void ArrayMismatch(T* const expected, T* const actual, const size_t num_elements
template <typename It, typename T> void ArrayFindIfNot(It begin, It end, const T expected_value) {
const auto it = std::find_if_not(
begin, end, [expected_value](const int elem) { return expected_value == elem; });
begin, end, [expected_value](const T elem) { return expected_value == elem; });
if (it != end) {
const auto idx = std::distance(begin, it);