From 6af4c977269aba8ff1173db4afac946eaba31821 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Thu, 21 Feb 2019 09:32:11 +0000 Subject: [PATCH] Explicitly qualify a method. Either clang or cl has a bug: cl accepts the unqualified (inherited) method name, clang rejects it. Both accept the qualified name. --- src/mem/largealloc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mem/largealloc.h b/src/mem/largealloc.h index 129d0f3..8513f69 100644 --- a/src/mem/largealloc.h +++ b/src/mem/largealloc.h @@ -104,7 +104,8 @@ namespace snmalloc // the stack. if (slab->get_kind() != Decommitted) { - notify_not_using(((char*)slab) + OS_PAGE_SIZE, decommit_size); + MemoryProviderState::notify_not_using( + ((char*)slab) + OS_PAGE_SIZE, decommit_size); } // Once we've removed these from the stack, there will be no // concurrent accesses and removal should have established a