Skip to content
Snippets Groups Projects
Commit 9676b770 authored by Marcus Hoffmann's avatar Marcus Hoffmann
Browse files

InputBar: mark constrictor as explicit

Suggested-By:

Clang-Tidy: Single-argument constructors must be marked explicit to
avoid unintentional implicit conversions

More info: https://clang.llvm.org/extra/clang-tidy/checks/google-explicit-constructor.html
parent 8aa4a60d
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ class InputBar : public QObject
Q_PROPERTY(QString text READ text NOTIFY textChanged)
public:
InputBar(TimelineModel *parent)
explicit InputBar(TimelineModel *parent)
: QObject()
, room(parent)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment