Author: Avamander <avamander@gmail.com>
Fixed a small warning with Screen's constructor
src/displayapp/screens/Screen.h | 2 +-
diff --git a/src/displayapp/screens/Screen.h b/src/displayapp/screens/Screen.h index dbf81a440b5ad761d17215b843adde2b4cedde8b..0a17b4dae3411415845dceb717b9d0592c94ceb5 100644 --- a/src/displayapp/screens/Screen.h +++ b/src/displayapp/screens/Screen.h @@ -9,7 +9,7 @@ class DisplayApp; namespace Screens { class Screen { public: - Screen(DisplayApp* app) : app{app} {} + explicit Screen(DisplayApp* app) : app{app} {} virtual ~Screen() = default; // Return false if the app can be closed, true if it must continue to run