Commit 4823bc50 authored by Tim Jenssen's avatar Tim Jenssen Committed by Marco Bubke

Clang: fix QDebug for SmallStringView

Change-Id: I54b200dc142d3d143fd3238ea97c4d6277c6604f
Reviewed-by: Marco Bubke's avatarMarco Bubke <marco.bubke@qt.io>
parent 9bcbf4ee
......@@ -73,7 +73,7 @@ QDebug &operator<<(QDebug &debug, const String &string)
{
using QT_PREPEND_NAMESPACE(operator<<);
debug.nospace() << "\"" << string.data() << "\"";
debug.nospace().quote() << QByteArray::fromRawData(string.data(), int(string.size()));
return debug;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment