Fixed a small warning with Screen's constructor

This commit is contained in:
Avamander 2020-10-04 15:14:09 +03:00
parent 9b7ba7b5b8
commit 77f4d5448b

View File

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