mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
temporary mingw thread_local in heap fix
git-svn-id: svn://ultimatepp.org/upp/trunk@9760 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5c86036124
commit
dea2531e24
4 changed files with 29 additions and 22 deletions
|
|
@ -46,7 +46,7 @@ MemoryProfile *PeakMemoryProfile()
|
|||
void DoPeakProfile()
|
||||
{
|
||||
if(sPeak)
|
||||
heap.Make(*sPeak);
|
||||
heap->Make(*sPeak);
|
||||
}
|
||||
|
||||
void OutOfMemoryPanic(size_t size)
|
||||
|
|
@ -301,7 +301,7 @@ void Heap::Make(MemoryProfile& f)
|
|||
|
||||
MemoryProfile::MemoryProfile()
|
||||
{
|
||||
heap.Make(*this);
|
||||
heap->Make(*this);
|
||||
}
|
||||
|
||||
#ifdef flagHEAPSTAT
|
||||
|
|
|
|||
Loading…
Reference in a new issue