diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2021-08-27 09:59:07 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2021-08-30 12:06:12 +0000 |
commit | cd3f82f247f587b16e911483b8d2674874565381 (patch) | |
tree | 822d61b7e84b1282285bfb7483ebf8a84ea4c92c /src/plugins/autotest/boost | |
parent | 390b214198cc9dc6fd7c2878d2167d067edbded2 (diff) | |
download | qt-creator-cd3f82f247f587b16e911483b8d2674874565381.tar.gz |
Pass QFutureInterface by reference
No need for a copy.
Change-Id: I0308da77199942ef49e36fb04e81713cb9d9a901
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/autotest/boost')
-rw-r--r-- | src/plugins/autotest/boost/boosttestparser.cpp | 2 | ||||
-rw-r--r-- | src/plugins/autotest/boost/boosttestparser.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/autotest/boost/boosttestparser.cpp b/src/plugins/autotest/boost/boosttestparser.cpp index 0b3dbc683b..a98787a195 100644 --- a/src/plugins/autotest/boost/boosttestparser.cpp +++ b/src/plugins/autotest/boost/boosttestparser.cpp @@ -118,7 +118,7 @@ static BoostTestParseResult *createParseResult(const QString &name, const Utils: } -bool BoostTestParser::processDocument(QFutureInterface<TestParseResultPtr> futureInterface, +bool BoostTestParser::processDocument(QFutureInterface<TestParseResultPtr> &futureInterface, const Utils::FilePath &fileName) { CPlusPlus::Document::Ptr doc = document(fileName); diff --git a/src/plugins/autotest/boost/boosttestparser.h b/src/plugins/autotest/boost/boosttestparser.h index 795a7e4c78..058fd24e4b 100644 --- a/src/plugins/autotest/boost/boosttestparser.h +++ b/src/plugins/autotest/boost/boosttestparser.h @@ -44,7 +44,7 @@ class BoostTestParser : public CppParser { public: explicit BoostTestParser(ITestFramework *framework) : CppParser(framework) {} - bool processDocument(QFutureInterface<TestParseResultPtr> futureInterface, + bool processDocument(QFutureInterface<TestParseResultPtr> &futureInterface, const Utils::FilePath &fileName) override; }; |