summaryrefslogtreecommitdiff
path: root/include/o3tl
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-04-11 10:13:16 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-04-11 12:06:53 +0200
commitc7fb93764b321e5bf4cd143dd0c29be60de6d8f8 (patch)
tree7347a7797f418bc250c5b069d074faba14511e40 /include/o3tl
parent1e859921ffc3b8974416e1b67face18d0e0de7fb (diff)
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.kaganski@collabora.com>
Diffstat (limited to 'include/o3tl')
-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)