mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Contructors with an argument other than its own type should be specified as explicit
This commit is contained in:
parent
46b3c4805a
commit
f41a541249
4
word.h
4
word.h
|
@ -40,8 +40,8 @@ public:
|
|||
BadgeBits = 0x400000,
|
||||
};
|
||||
|
||||
Word(LazyLoadedImage* image, Type type, const QString& copytext, const QString& tooltip = "");
|
||||
Word(const QString& text, Type type, const QString& copytext, const QString& tooltip = "");
|
||||
explicit Word(LazyLoadedImage* image, Type type, const QString& copytext, const QString& tooltip = "");
|
||||
explicit Word(const QString& text, Type type, const QString& copytext, const QString& tooltip = "");
|
||||
|
||||
~Word();
|
||||
|
||||
|
|
Loading…
Reference in a new issue