diff options
Diffstat (limited to 'src/libs/utils/smallstringio.h')
-rw-r--r-- | src/libs/utils/smallstringio.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/libs/utils/smallstringio.h b/src/libs/utils/smallstringio.h index 5a0dd71c8a..233b9b5d97 100644 --- a/src/libs/utils/smallstringio.h +++ b/src/libs/utils/smallstringio.h @@ -230,30 +230,6 @@ QDataStream &operator>>(QDataStream &in, vector<Type> &vector) return in; } -template <typename T> -ostream &operator<<(ostream &out, const vector<T> &vector) -{ - out << "["; - - for (auto current = vector.begin(); current != vector.end(); ++current) { - std::ostringstream entryStream; - entryStream << *current; - std::string entryString = entryStream.str(); - - if (entryString.size() > 4) - out << "\n\t"; - - out << entryString; - - if (std::next(current) != vector.end()) - out << ", "; - } - - out << "]"; - - return out; -} - } // namespace std QT_BEGIN_NAMESPACE |