diff --git a/src/plugins/coreplugin/locator/javascriptfilter.h b/src/plugins/coreplugin/locator/javascriptfilter.h index 28ef4476040..35418949a9a 100644 --- a/src/plugins/coreplugin/locator/javascriptfilter.h +++ b/src/plugins/coreplugin/locator/javascriptfilter.h @@ -29,6 +29,7 @@ #include +#include #include QT_BEGIN_NAMESPACE @@ -57,7 +58,7 @@ private: mutable std::unique_ptr m_engine; QTimer m_abortTimer; - bool m_aborted = false; + std::atomic_bool m_aborted = false; }; } // namespace Internal