summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/o3tl/string_view.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/o3tl/string_view.hxx b/include/o3tl/string_view.hxx
index 2a33885ce166..5d3c7fcc43e2 100644
--- a/include/o3tl/string_view.hxx
+++ b/include/o3tl/string_view.hxx
@@ -38,9 +38,7 @@ inline int compareToIgnoreAsciiCase(std::u16string_view s1, std::u16string_view
};
// Similar to OString::getToken, returning the first token of a std::string_view, starting at a
-// given position (and if needed, it can be turned into a template to also cover std::u16string_view
-// etc., or extended to return the n'th token instead of just the first, or support an initial
-// position of npos):
+// given position:
template <typename charT, typename traits = std::char_traits<charT>>
inline std::basic_string_view<charT, traits> getToken(std::basic_string_view<charT, traits> sv,
charT delimiter, std::size_t& position)