Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit d48e5d37 authored by Michal Policht's avatar Michal Policht

Use 'equal()' function wrapper to prevent MSVC from showing warnings.

parent 85c6bd78
......@@ -3,6 +3,8 @@
#include "random.hpp"
#include <cutehmi/wrappers.hpp>
#include <QtTest/QtTest>
#include <functional>
......@@ -209,7 +211,7 @@ void testAccessors(T (CM::*getter)() const, void (CM::*setter)(const T &))
template <typename T>
bool arrEqual(const T * arr1, const T * arr2, std::size_t size)
{
return std::equal(arr1, arr1 + size, arr2);
return equal(arr1, arr1 + size, arr2);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment