From 77f4d5448bb05287a3802ce3511817fc27a825ab Mon Sep 17 00:00:00 2001 From: Avamander Date: Sun, 4 Oct 2020 15:14:09 +0300 Subject: [PATCH] Fixed a small warning with Screen's constructor --- src/displayapp/screens/Screen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/displayapp/screens/Screen.h b/src/displayapp/screens/Screen.h index dbf81a44..0a17b4da 100644 --- a/src/displayapp/screens/Screen.h +++ b/src/displayapp/screens/Screen.h @@ -9,7 +9,7 @@ namespace Pinetime { 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