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;