summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2016-11-16 15:53:58 +0100
committerMarco Bubke <marco.bubke@qt.io>2016-11-17 15:07:55 +0000
commit89b3d53b27f5fbc283a0e8849d0c230e1af67c24 (patch)
treeb4470c8acce0105b60dbf56d0e2cd0f65e0c9017
parentf11b746e60096d9b6a089fc34a6d1a6934774601 (diff)
downloadqt-creator-wip/clang-query.tar.gz
Utils: Improve print function for SmallStringVectorwip/clang-query
Change-Id: I9dc66ddddf380d8e2af057719005f4d14a592396 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r--src/libs/utils/smallstringio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/utils/smallstringio.h b/src/libs/utils/smallstringio.h
index d3fa564263..42d44c9672 100644
--- a/src/libs/utils/smallstringio.h
+++ b/src/libs/utils/smallstringio.h
@@ -144,7 +144,7 @@ QDebug operator<<(QDebug debug, const SmallStringVector &stringVector)
inline
void PrintTo(const SmallStringVector &textVector, ::std::ostream* os)
{
- *os << "StringVector(" << textVector.join(Utils::SmallString(", ")).constData() << ")";
+ *os << "[" << textVector.join(Utils::SmallString(", ")).constData() << "]";
}
} // namespace Utils