summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2020-05-08 11:02:58 +0200
committerMarc Mutz <marc.mutz@kdab.com>2020-05-08 16:53:04 +0200
commitdd4e96df528a64bd994bf44e9b618463e0562ab0 (patch)
tree5906c12839319c887eb1ad47d6ea2f11f3ef12ae /src/plugins
parentd67551ff5b2c227ef1550c649d23899ea99789e0 (diff)
tst_qstringview: modernize functions in help namespace
They don't work with std::span, since std::span has neither const_iterator nor cbegin()/cend(). To fix, perfectly forward the return type with decltype(auto) instead of mentioning T::const_iterator, and rely on the const-qualfication of the help::c{r,}{begin,end}() functions' arguments to select the correct T::{r,}{begin,end}() overload. Change-Id: I4992d4bd521d2dc0f9ea51ae70cde8286ae543a5 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions