diff --git a/include/stringzilla/stringzilla.hpp b/include/stringzilla/stringzilla.hpp index 767b5981..97e615aa 100644 --- a/include/stringzilla/stringzilla.hpp +++ b/include/stringzilla/stringzilla.hpp @@ -900,7 +900,7 @@ range_splits> split(string c * @tparam string A string-like type, ideally a view, like StringZilla or STL `string_view`. */ template -range_rmatches> rsplit(string const &h, string const &n) noexcept { +range_rsplits> rsplit(string const &h, string const &n) noexcept { return {h, n}; }