Fixed compilation error on Mac and Linux

This commit is contained in:
Olivier Prat 2017-07-03 17:17:37 +02:00
parent ec1cf9dc50
commit 972db8f54c

View file

@ -286,7 +286,7 @@ public:
VaryingArray(std::initializer_list<Varying> list) {
assert(list.size() == NUM);
std::copy(list.begin(), list.end(), begin());
std::copy(list.begin(), list.end(), std::array<Varying, NUM>::begin());
}
};
}