forked from qt-creator/qt-creator
Utils: Optimize StringView
Change-Id: I43bf93a0ef0cd30c51befaa0ce12caad87b04bff Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -91,7 +91,9 @@ std::ostream &operator<<(std::ostream &out, const BasicSmallString<Size> &string
|
||||
inline
|
||||
std::ostream &operator<<(std::ostream &out, SmallStringView string)
|
||||
{
|
||||
return out << PathString(string);
|
||||
out.write(string.data(), std::streamsize(string.size()));
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
template <typename String>
|
||||
|
Reference in New Issue
Block a user