diff options
author | Chris Robinson <[email protected]> | 2023-04-30 13:26:50 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-04-30 13:26:50 -0700 |
commit | 6d98d5595768fc4fbd8e41a012a73839cb2a35ba (patch) | |
tree | b1afc4f466649a7d07fa8db1dcb8ad638f38a911 /al/debug.cpp | |
parent | d4be95c90336f676c7463e392ffdd48e6c7d00a6 (diff) |
Remove an unnecessary type name
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 |