From b3c7e3abd65e406b16faf65a6b67a428267e7fe6 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Thu, 10 Aug 2023 14:22:17 +0200 Subject: [PATCH] Valgrind: Fix build Amends ec53435e04c9cbe420ff0371c8a29192934e8b2d. Change-Id: Iaee2b355a98bf92c94bd66a8a615befec08b11c3 Reviewed-by: hjk Reviewed-by: Jarek Kobus --- src/plugins/valgrind/xmlprotocol/threadedparser.cpp | 2 ++ src/plugins/valgrind/xmlprotocol/threadedparser.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/plugins/valgrind/xmlprotocol/threadedparser.cpp b/src/plugins/valgrind/xmlprotocol/threadedparser.cpp index 5df623aa2b8..8b9ef43d905 100644 --- a/src/plugins/valgrind/xmlprotocol/threadedparser.cpp +++ b/src/plugins/valgrind/xmlprotocol/threadedparser.cpp @@ -33,6 +33,8 @@ ThreadedParser::ThreadedParser(QObject *parent) : QObject(parent) {} +ThreadedParser::~ThreadedParser() = default; + bool ThreadedParser::isRunning() const { return m_parserThread ? m_parserThread->isRunning() : false; diff --git a/src/plugins/valgrind/xmlprotocol/threadedparser.h b/src/plugins/valgrind/xmlprotocol/threadedparser.h index 51d3fb4cfd8..3380d0d3438 100644 --- a/src/plugins/valgrind/xmlprotocol/threadedparser.h +++ b/src/plugins/valgrind/xmlprotocol/threadedparser.h @@ -25,6 +25,7 @@ class ThreadedParser : public QObject public: explicit ThreadedParser(QObject *parent = nullptr); + ~ThreadedParser(); /// interface additions relative to Parser because Parser is synchronous and this /// class parses asynchronously in a non-public secondary thread.