diff options
Diffstat (limited to 'al/debug.cpp')
-rw-r--r-- | al/debug.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/al/debug.cpp b/al/debug.cpp index 81e9b35f..2694d7b4 100644 --- a/al/debug.cpp +++ b/al/debug.cpp @@ -24,9 +24,9 @@ template<typename T, T ...Vals> constexpr auto make_array(std::integer_sequence<T, Vals...>) { return std::array<T,sizeof...(Vals)>{Vals...}; } -template<typename T, size_t N, typename Indices = std::make_integer_sequence<T,N>> +template<typename T, size_t N> constexpr auto make_array() -{ return make_array(Indices{}); } +{ return make_array(std::make_integer_sequence<T,N>{}); } constexpr al::optional<DebugSource> GetDebugSource(ALenum source) noexcept |