summaryrefslogtreecommitdiff
path: root/include/pso/TMainTask.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-05 12:32:38 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-05 12:32:38 -0400
commit306a76cb444102bc207ee16e8a65aa9e90bbd37a (patch)
treed6e64d7496837bddb89c5ef34be5eca536de4103 /include/pso/TMainTask.h
parentcb40b0808a639fa0de330cb2b88574a0e8b4d2d5 (diff)
global: Start work on making the codebase match without inlining
It seems more, and more obvious that the codebase was originally compiled without inlining.
Diffstat (limited to 'include/pso/TMainTask.h')
-rw-r--r--include/pso/TMainTask.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pso/TMainTask.h b/include/pso/TMainTask.h
index b97192b..b73d69d 100644
--- a/include/pso/TMainTask.h
+++ b/include/pso/TMainTask.h
@@ -10,7 +10,7 @@
if (flags != old_flags) { \
TMainTask *child; \
u32 bit = 1; \
- FOREACH_NODE_NODECL_MULTI_ITER(TMainTask, main_task.down(), child, bit <<= 1) { \
+ FOREACH_NODE_NODECL_MULTI_ITER(TMainTask, main_task.m_down, child, bit <<= 1) { \
if (flags & bit) { \
child->one_prefix##_##suffix(); \
} else { \
@@ -34,7 +34,7 @@ TL_OBJECTS
TL_OBJECTS
#undef o
-class TMainTask : public TObject {
+class TMainTask : private TObject {
public:
u32 task_flags;
u32 mbr_0x20;