include/o3tl/string_view.hxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit c7fb93764b321e5bf4cd143dd0c29be60de6d8f8
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Mon Apr 11 10:13:16 2022 +0300
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Mon Apr 11 12:06:53 2022 +0200

    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 <mike.kagan...@collabora.com>

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)

Reply via email to