forked from qt-creator/qt-creator
Utils: Improve print function for SmallStringVector
Change-Id: I9dc66ddddf380d8e2af057719005f4d14a592396 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user