diff options
author | Marcus Hoffmann <bubu@bubu1.eu> | 2021-12-03 01:29:15 +0100 |
---|---|---|
committer | Marcus Hoffmann <bubu@bubu1.eu> | 2021-12-03 01:37:00 +0100 |
commit | 9676b7709d92fd474c29134144a4636a7cb1e30d (patch) | |
tree | b3ce2754a7ceb3b76dc3ce0d7f3934b51c1bb5bf /src/timeline | |
parent | InputBar: use X.empty() instead of !X.size() (diff) | |
download | nheko-9676b7709d92fd474c29134144a4636a7cb1e30d.tar.xz |
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
Diffstat (limited to 'src/timeline')
-rw-r--r-- | src/timeline/InputBar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/InputBar.h b/src/timeline/InputBar.h index 3beff0b3..399dd116 100644 --- a/src/timeline/InputBar.h +++ b/src/timeline/InputBar.h @@ -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) { |