fix volatile declaration on function

This commit is contained in:
daan 2019-09-09 08:07:35 -07:00
parent efe083a548
commit b104e434e4

View File

@ -702,7 +702,7 @@ static inline mi_page_t* mi_find_free_page(mi_heap_t* heap, size_t size) {
a certain number of allocations.
----------------------------------------------------------- */
static volatile mi_deferred_free_fun* deferred_free = NULL;
static mi_deferred_free_fun* volatile deferred_free = NULL;
void _mi_deferred_free(mi_heap_t* heap, bool force) {
heap->tld->heartbeat++;