strat: use m_ for member variables

This commit is contained in:
Michael Scire committed 2021-10-10 00:14:06 -07:00
1 parent ce28591ab2
commit a595c232b9
425 files changed
+8531 -8484

No files matched your search

+4 -4
View File
@@ -20,10 +20,10 @@ namespace ams::fatal::srv {
class ITask {
protected:
const ThrowContext *context = nullptr;
const ThrowContext *m_context = nullptr;
public:
void Initialize(const ThrowContext *context) {
this->context = context;
m_context = context;
}
virtual Result Run() = 0;
@@ -38,10 +38,10 @@ namespace ams::fatal::srv {
static constexpr size_t StackSize = _StackSize;
static_assert(util::IsAligned(StackSize, os::MemoryPageSize), "StackSize alignment");
protected:
alignas(os::MemoryPageSize) u8 stack_mem[StackSize] = {};
alignas(os::MemoryPageSize) u8 m_stack_mem[StackSize] = {};
public:
virtual u8 *GetStack() override final {
return this->stack_mem;
return m_stack_mem;
}
virtual size_t GetStackSize() const override final {