fix, Qt6: fixed QPair<T1, T2>

This commit is contained in:
QxQ 2020-12-13 17:00:39 +08:00
parent ea3ab88bff
commit 51f8a38c38
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
6083
6084

View File

@ -94,7 +94,7 @@ QTextStream &operator<<(QTextStream &stream, const QMap<TKey, TVal> &map)
{
stream << "{ ";
for (const auto &[k, v] : map.toStdMap())
stream << QPair(k, v) << "; ";
stream << QPair<TKey, TVal>(k, v) << "; ";
stream << "}";
return stream;
}