Skip to content
Snippets Groups Projects
Commit 9b1dedea authored by Florian Fischer's avatar Florian Fischer
Browse files

[ContextManager] putFreeContext can't be static anymore since the compiler sees putMemory

parent 466ccb8c
No related branches found
No related tags found
No related merge requests found
Pipeline #58875 failed
......@@ -77,7 +77,7 @@ void ContextManager::discardAndResume(Context* context) {
assert(context != nullptr);
Context* contextToFree = Context::getCurrentContext();
context->setHook([HOOK_CAPTURE_LIST] {
context->setHook([this, HOOK_CAPTURE_LIST] {
LOGD("Freeing context " << contextToFree);
putFreeContext(contextToFree);
});
......
......@@ -24,7 +24,7 @@ class ContextManager
auto getFreeContext() -> Context*;
static void putFreeContext(Context* context);
void putFreeContext(Context* context);
[[noreturn]] void start();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment