From c7fb93764b321e5bf4cd143dd0c29be60de6d8f8 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Mon, 11 Apr 2022 10:13:16 +0300 Subject: Cleanup comment ... after commit e4ff847fe0796420ba8023b70cad8589f5f19e9f already made it a template. Change-Id: Ia433150cb1f9909906ceb986c50d4334cc2b1897 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132806 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- include/o3tl/string_view.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/o3tl') 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 > inline std::basic_string_view getToken(std::basic_string_view sv, charT delimiter, std::size_t& position) -- cgit