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
|
|
@ -25,8 +25,8 @@ ClientServices* ClientServices::GetInstance() {
|
|||
return ClientServices::s_instance;
|
||||
}
|
||||
|
||||
auto instanceMem = SMemAlloc(sizeof(ClientServices), __FILE__, __LINE__, 0x0);
|
||||
auto instance = new (instanceMem) ClientServices();
|
||||
auto m = SMemAlloc(sizeof(ClientServices), __FILE__, __LINE__, 0x0);
|
||||
auto instance = new (m) ClientServices();
|
||||
ClientServices::s_instance = instance;
|
||||
|
||||
return ClientServices::s_instance;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue