diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-09-22 10:41:22 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-09-22 10:05:14 +0000 |
commit | c73793414b1bc8901413862972db8ced1ccb9151 (patch) | |
tree | 90394277a2e2af56f6a67d2a0d973e092c5322f6 /src/tools | |
parent | 2f5e1e6cec345b0be756be841acac48eb154a15b (diff) | |
download | qt-creator-c73793414b1bc8901413862972db8ced1ccb9151.tar.gz |
Clang: Replace override with final in AsyncJob
Change-Id: Ie3e2acf4ee81154e9e6d7c785bd773879f9eda38
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/clangbackend/ipcsource/clangasyncjob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/clangbackend/ipcsource/clangasyncjob.h b/src/tools/clangbackend/ipcsource/clangasyncjob.h index c8a7b79947..58b6a1f845 100644 --- a/src/tools/clangbackend/ipcsource/clangasyncjob.h +++ b/src/tools/clangbackend/ipcsource/clangasyncjob.h @@ -47,7 +47,7 @@ public: Result asyncResult() const { return m_futureWatcher.future().result(); } - QFuture<void> runAsync() override + QFuture<void> runAsync() final { const auto onFinished = [this]() { finalizeAsyncRun(); @@ -64,7 +64,7 @@ public: return future; } - void preventFinalization() override + void preventFinalization() final { m_futureWatcher.disconnect(); } |