Skip to content

Commit

Permalink
[21_5] Fix error: missing template arguments before ‘(’ token
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Apr 3, 2024
1 parent d6d7519 commit 2eeab86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lolly/data/string_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ operator<= (const string_view<T>& a, const string_view<T>& b) {
template <typename T, size_t Nb>
bool
operator<= (const string_view<T>& a, const T (&b)[Nb]) {
return a <= string_view (b);
return a <= string_view<T> (b);
};

template <typename T, size_t Na>
Expand Down

0 comments on commit 2eeab86

Please sign in to comment.