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 authored Apr 3, 2024
1 parent 394d99c commit 1fd33b0
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 1fd33b0

Please sign in to comment.