Skip to content
Snippets Groups Projects
Commit 89b3d53b authored by Marco Bubke's avatar Marco Bubke
Browse files

Utils: Improve print function for SmallStringVector


Change-Id: I9dc66ddddf380d8e2af057719005f4d14a592396
Reviewed-by: default avatarTim Jenssen <tim.jenssen@qt.io>
parent f11b746e
No related branches found
No related tags found
No related merge requests found
...@@ -144,7 +144,7 @@ QDebug operator<<(QDebug debug, const SmallStringVector &stringVector) ...@@ -144,7 +144,7 @@ QDebug operator<<(QDebug debug, const SmallStringVector &stringVector)
inline inline
void PrintTo(const SmallStringVector &textVector, ::std::ostream* os) void PrintTo(const SmallStringVector &textVector, ::std::ostream* os)
{ {
*os << "StringVector(" << textVector.join(Utils::SmallString(", ")).constData() << ")"; *os << "[" << textVector.join(Utils::SmallString(", ")).constData() << "]";
} }
} // namespace Utils } // namespace Utils
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment