Fixed compilation warning

This commit is contained in:
Benoit Steiner 2015-10-26 12:41:48 -07:00
parent 9f721384e0
commit 9dc236bc83

View File

@ -354,7 +354,7 @@ struct h_array_reduce<Reducer, T, N, 0>
template<typename Reducer, typename T>
struct h_array_reduce<Reducer, T, 0>
{
constexpr static inline T run(const std::array<T, 0>& arr, T identity)
constexpr static inline T run(const std::array<T, 0>&, T identity)
{
return identity;
}