1
0
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:
Diadlo 2017-06-12 11:33:19 +03:00
parent 6e697053a7
commit 6045e57829
No known key found for this signature in database
GPG Key ID: 5AF9F2E29107C727
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ public:
};
public:
History(std::shared_ptr<RawDatabase> db);
explicit History(std::shared_ptr<RawDatabase> db);
~History();
bool isValid();

View File

@ -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;