Skip to content

Commit

Permalink
fixing unused parameter in template (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
eteran authored Jan 17, 2025
1 parent 668a1b5 commit 7f6348c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Util/include/Util/algorithm.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ constexpr auto ssize(const C &c) -> std::common_type_t<ptrdiff_t, std::make_sign
}

template <class T, ptrdiff_t N>
constexpr ptrdiff_t ssize(const T (&array)[N]) noexcept {
constexpr ptrdiff_t ssize(const T (&)[N]) noexcept {
return N;
}

Expand Down

0 comments on commit 7f6348c

Please sign in to comment.