mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
refactor: Make constructor with one argument explicit
This commit is contained in:
parent
6e697053a7
commit
6045e57829
|
@ -59,7 +59,7 @@ public:
|
|||
};
|
||||
|
||||
public:
|
||||
History(std::shared_ptr<RawDatabase> db);
|
||||
explicit History(std::shared_ptr<RawDatabase> db);
|
||||
~History();
|
||||
|
||||
bool isValid();
|
||||
|
|
|
@ -32,7 +32,7 @@ struct VideoMode
|
|||
|
||||
VideoMode(int width = 0, int height = 0, int x = 0, int y = 0, int FPS = 0, int format = 0);
|
||||
|
||||
VideoMode(QRect rect);
|
||||
explicit VideoMode(QRect rect);
|
||||
|
||||
QRect toRect() const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user