From 5570b16f6fc4a385524103434de2491cb4804ea3 Mon Sep 17 00:00:00 2001 From: Lenny Maiorani Date: Wed, 11 Nov 2020 11:28:04 -0700 Subject: [PATCH] RefPtrTraits: struct/class mismatch in forward declaration Problem: - Building with clang is broken because of the `struct` vs `class` mismatch between the definition and declaration. Solution: - Change `class` to `struct` in the forward declaration. --- AK/Forward.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/Forward.h b/AK/Forward.h index df7c1bbcae..c0bbdbfddc 100644 --- a/AK/Forward.h +++ b/AK/Forward.h @@ -113,7 +113,7 @@ template class Optional; template -class RefPtrTraits; +struct RefPtrTraits; template> class RefPtr;