From 2d4a4caab7263de85b75718f83638febe09989c5 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Mon, 23 Aug 2021 11:15:11 +0100 Subject: [PATCH] Fix the type checker. --- src/mem/localalloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mem/localalloc.h b/src/mem/localalloc.h index 0d9e747..39255cc 100644 --- a/src/mem/localalloc.h +++ b/src/mem/localalloc.h @@ -117,7 +117,7 @@ namespace snmalloc "initialisation"); // Unreachable, but needed to keep the type checker happy in deducing // the return type of this function. - return static_cast(nullptr); + return static_cast(nullptr); } else {