diff --git a/tests/auto/filesearch/tst_filesearch.cpp b/tests/auto/filesearch/tst_filesearch.cpp index dd5f82f78a6..214339e0d33 100644 --- a/tests/auto/filesearch/tst_filesearch.cpp +++ b/tests/auto/filesearch/tst_filesearch.cpp @@ -31,7 +31,7 @@ #include -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 {