aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-04-16 16:37:00 +0200
committerEike Ziller <eike.ziller@digia.com>2013-04-17 15:30:46 +0200
commit1610093ca387be748ba741033b15c141865faa63 (patch)
tree1b15a844e902be9731bbb95ccfb6a364ddc7c8fd /tests
parent270da5c15c1e950d99397968020e02e17b6240a8 (diff)
Fix filesearch test.
Clang complained that the operator== was not defined in Utils namespace. Change-Id: I64853ddf3a081991cfb276b3be3a243fda87a740 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/filesearch/tst_filesearch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/filesearch/tst_filesearch.cpp b/tests/auto/filesearch/tst_filesearch.cpp
index dd5f82f78a..214339e0d3 100644
--- a/tests/auto/filesearch/tst_filesearch.cpp
+++ b/tests/auto/filesearch/tst_filesearch.cpp
@@ -31,7 +31,7 @@
#include <QtTest>
-QT_BEGIN_NAMESPACE
+namespace Utils {
bool operator==(const Utils::FileSearchResult &r1, const Utils::FileSearchResult &r2)
{
return r1.fileName == r2.fileName
@@ -41,7 +41,7 @@ bool operator==(const Utils::FileSearchResult &r1, const Utils::FileSearchResult
&& r1.matchLength == r2.matchLength
&& r1.regexpCapturedTexts == r2.regexpCapturedTexts;
}
-QT_END_NAMESPACE
+} // Utils
class tst_FileSearch : public QObject
{