summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2016-08-08 16:27:07 +0200
committerTim Jenssen <tim.jenssen@qt.io>2016-08-08 15:01:53 +0000
commit092df2edaa54d8938bf54b71966ad85f12ae9069 (patch)
tree38aa12b7de107c6a786cf8a92cc90dc4bc21b84e /tests
parent44f62d10ad151edfe357a452260a1264715975da (diff)
downloadqt-creator-092df2edaa54d8938bf54b71966ad85f12ae9069.tar.gz
Clang: Smallstring should not depend on std::ostream
We move the io operators in an extra header file because if we would include ostream in smallstring.h we would blow the compile time. Change-Id: Iea61ceedbbbcdd2adc6dc149794dab6e743084f8 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/unittest/smallstringtest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/unittest/smallstringtest.cpp b/tests/unit/unittest/smallstringtest.cpp
index b634b84b6d..19fbc82057 100644
--- a/tests/unit/unittest/smallstringtest.cpp
+++ b/tests/unit/unittest/smallstringtest.cpp
@@ -29,9 +29,9 @@
#include <QString>
-#include <utils/smallstringvector.h>
-
#include <utils/smallstring.h>
+#include <utils/smallstringio.h>
+#include <utils/smallstringvector.h>
#ifndef __cpp_constexpr
#define constexpr