Skip to content
Snippets Groups Projects
Commit 448f5b42 authored by Richard Linden's avatar Richard Linden
Browse files

BUILDFIX: bad calls to claim_shadow_mem and disclaim_shadow_mem

parent 6c856aba
No related branches found
No related tags found
No related merge requests found
...@@ -581,12 +581,12 @@ class MemTrackable ...@@ -581,12 +581,12 @@ class MemTrackable
{ {
static void claim(mem_trackable_t& tracker, TRACKED& tracked) static void claim(mem_trackable_t& tracker, TRACKED& tracked)
{ {
claim_shadow_mem( (F64)MemFootprint<TRACKED>::measure(tracked)); claim_shadow_mem( sMemStat, MemFootprint<TRACKED>::measure(tracked));
} }
static void disclaim(mem_trackable_t& tracker, TRACKED& tracked) static void disclaim(mem_trackable_t& tracker, TRACKED& tracked)
{ {
disclaim_shadow_mem((F64)MemFootprint<TRACKED>::measure(tracked)); disclaim_shadow_mem(sMemStat, MemFootprint<TRACKED>::measure(tracked));
} }
}; };
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment