diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-02-29 13:22:21 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-02-29 15:14:37 +0000 |
commit | f900b4e1ba76dc469deb4c02a23583d6bf3b27d1 (patch) | |
tree | b1ccc0e0e1808b40034bbd35d344764c5d6fdddf /tests/auto/cplusplus/cppselectionchanger/tst_cppselectionchangertest.cpp | |
parent | a26d5ece43f06563b6fea57ca9550ddd4d7a769e (diff) | |
download | qt-creator-f900b4e1ba76dc469deb4c02a23583d6bf3b27d1.tar.gz |
Selection changer autotest: Fix build with namespaced Qt.
Change-Id: Ic9709ac4e76a199bb9fdd7ed231d48d498201de6
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'tests/auto/cplusplus/cppselectionchanger/tst_cppselectionchangertest.cpp')
-rw-r--r-- | tests/auto/cplusplus/cppselectionchanger/tst_cppselectionchangertest.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/cplusplus/cppselectionchanger/tst_cppselectionchangertest.cpp b/tests/auto/cplusplus/cppselectionchanger/tst_cppselectionchangertest.cpp index df7f675449..45f713a88c 100644 --- a/tests/auto/cplusplus/cppselectionchanger/tst_cppselectionchangertest.cpp +++ b/tests/auto/cplusplus/cppselectionchanger/tst_cppselectionchangertest.cpp @@ -62,6 +62,7 @@ private: bool m_result; }; +QT_BEGIN_NAMESPACE namespace QTest { template<> char *toString(const ChangeResult &changeResult) @@ -73,6 +74,7 @@ namespace QTest { return qstrdup(ba.data()); } } +QT_END_NAMESPACE class tst_CppSelectionChanger : public QObject { |