diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2019-02-19 22:57:10 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2019-02-23 07:37:58 +0000 |
commit | 6615e52e4308962a7d10d606eead188fbfe198f3 (patch) | |
tree | 5c27ed9a2c962c668bcfd0e99518f79c4c85e847 /src/lib/corelib/api/internaljobs.cpp | |
parent | 1d479510cae797f875b53e6a3d11af94de675ab8 (diff) | |
download | qbs-6615e52e4308962a7d10d606eead188fbfe198f3.tar.gz |
Use 'const auto' keywords more at objects allocations
Change-Id: I592d433e7c473ae9f27ca08e701516efe53650ba
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/api/internaljobs.cpp')
-rw-r--r-- | src/lib/corelib/api/internaljobs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/api/internaljobs.cpp b/src/lib/corelib/api/internaljobs.cpp index 048ae5656..19496c83f 100644 --- a/src/lib/corelib/api/internaljobs.cpp +++ b/src/lib/corelib/api/internaljobs.cpp @@ -381,7 +381,7 @@ void InternalBuildJob::build(const TopLevelProjectPtr &project, m_executor->setBuildOptions(buildOptions); m_executor->setProgressObserver(observer()); - auto executorThread = new QThread(this); + const auto executorThread = new QThread(this); m_executor->moveToThread(executorThread); connect(m_executor, &Executor::reportCommandDescription, this, &BuildGraphTouchingJob::reportCommandDescription); |