From 453b88a300b5896a374b88da8f09b9bbc70ca150 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 8 Mar 2021 21:05:41 -0600 Subject: [PATCH] Add some missing explicits --- src/server.hpp | 2 +- src/traceview.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server.hpp b/src/server.hpp index 77a9576..ddb887b 100644 --- a/src/server.hpp +++ b/src/server.hpp @@ -26,7 +26,7 @@ class DataFeed: public QObject { std::unique_ptr m_dev; public: - DataFeed(QIODevice *dev, bool skipInit = false); + explicit DataFeed(QIODevice *dev, bool skipInit = false); const QSharedPointer &procData(); diff --git a/src/traceview.hpp b/src/traceview.hpp index 0eff0df..a52451c 100644 --- a/src/traceview.hpp +++ b/src/traceview.hpp @@ -32,7 +32,7 @@ class TraceView: public QWidget { TraceEventModel *m_model = nullptr; public: - TraceView(QWidget *parent = nullptr); + explicit TraceView(QWidget *parent = nullptr); ~TraceView() override;