Changed access modified indentation

This commit is contained in:
Avamander
2021-04-24 12:00:45 +03:00
parent 40d45d923b
commit 6989854519
84 changed files with 175 additions and 175 deletions

View File

@@ -9,7 +9,7 @@ namespace Pinetime {
namespace Screens {
template <class T> class DirtyValue {
public:
public:
DirtyValue() = default; // Use NSDMI
explicit DirtyValue(T const& v) : value {v} {
} // Use MIL and const-lvalue-ref
@@ -28,13 +28,13 @@ namespace Pinetime {
return *this;
}
private:
private:
T value {}; // NSDMI - default initialise type
bool isUpdated {true}; // NSDMI - use brace initilisation
};
class Screen {
public:
public:
explicit Screen(DisplayApp* app) : app {app} {
}
virtual ~Screen() = default;
@@ -67,7 +67,7 @@ namespace Pinetime {
return false;
}
protected:
protected:
DisplayApp* app;
bool running = true;
};