Some "explicit" missing
This commit is contained in:
+3
-3
@@ -24,12 +24,12 @@
|
|||||||
|
|
||||||
class GridLayout {
|
class GridLayout {
|
||||||
public:
|
public:
|
||||||
GridLayout(coord_t width):
|
explicit GridLayout(coord_t width):
|
||||||
width(width)
|
width(width)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
GridLayout(Window * window):
|
explicit GridLayout(Window * window):
|
||||||
width(window->width())
|
width(window->width())
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
@@ -69,7 +69,7 @@ class GridLayout {
|
|||||||
|
|
||||||
class FormGridLayout: public GridLayout {
|
class FormGridLayout: public GridLayout {
|
||||||
public:
|
public:
|
||||||
FormGridLayout(coord_t width = LCD_W):
|
explicit FormGridLayout(coord_t width = LCD_W):
|
||||||
GridLayout(width)
|
GridLayout(width)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user