forked from qt-creator/qt-creator
Clang: fix QDebug for SmallStringView
Change-Id: I54b200dc142d3d143fd3238ea97c4d6277c6604f Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -73,7 +73,7 @@ QDebug &operator<<(QDebug &debug, const String &string)
|
|||||||
{
|
{
|
||||||
using QT_PREPEND_NAMESPACE(operator<<);
|
using QT_PREPEND_NAMESPACE(operator<<);
|
||||||
|
|
||||||
debug.nospace() << "\"" << string.data() << "\"";
|
debug.nospace().quote() << QByteArray::fromRawData(string.data(), int(string.size()));
|
||||||
|
|
||||||
return debug;
|
return debug;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user