mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
chore(style): normalize memory allocations
This commit is contained in:
parent
90403bfd29
commit
97a6a8dd91
27 changed files with 147 additions and 279 deletions
|
|
@ -371,8 +371,8 @@ CSimpleTop::CSimpleTop() : CLayoutFrame() {
|
|||
// TODO
|
||||
|
||||
for (int32_t s = 0; s < NUM_FRAME_STRATA; s++) {
|
||||
void* m = SMemAlloc(sizeof(CFrameStrata), __FILE__, __LINE__, 0);
|
||||
this->m_strata[s] = m ? new (m) CFrameStrata() : nullptr;
|
||||
auto m = SMemAlloc(sizeof(CFrameStrata), __FILE__, __LINE__, 0x0);
|
||||
this->m_strata[s] = new (m) CFrameStrata();
|
||||
}
|
||||
|
||||
// TODO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue