Some "explicit" missing

This commit is contained in:
Bertrand Songis
2020-01-10 12:03:41 +01:00
parent b6e328ef40
commit 1def5f18be
+3 -3
View File
@@ -24,12 +24,12 @@
class GridLayout {
public:
GridLayout(coord_t width):
explicit GridLayout(coord_t width):
width(width)
{
}
GridLayout(Window * window):
explicit GridLayout(Window * window):
width(window->width())
{
}
@@ -69,7 +69,7 @@ class GridLayout {
class FormGridLayout: public GridLayout {
public:
FormGridLayout(coord_t width = LCD_W):
explicit FormGridLayout(coord_t width = LCD_W):
GridLayout(width)
{
}