testlib: use string view types more
Change-Id: I59886bca9c90cce6aa00e3cbe09a3991b6b4ce79 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
d83aabad0f
commit
b601ea7f8b
@ -398,7 +398,7 @@ inline char *toString(const std::tuple<Types...> &tuple)
|
||||
|
||||
inline char *toString(std::nullptr_t)
|
||||
{
|
||||
return toString(QStringLiteral("nullptr"));
|
||||
return toString(QStringView(u"nullptr"));
|
||||
}
|
||||
|
||||
template<>
|
||||
|
Loading…
Reference in New Issue
Block a user