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