From 02a6e0422dc576699a9ce2381ef0d36f107f132f Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 10 Dec 2023 11:00:44 +0100 Subject: [PATCH] Clang did not like this... --- src/common/engine/sc_man.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/engine/sc_man.h b/src/common/engine/sc_man.h index 980e67d7acb..32848a4a630 100644 --- a/src/common/engine/sc_man.h +++ b/src/common/engine/sc_man.h @@ -74,7 +74,7 @@ class FScanner template void OpenMem(const char* name, const T& buffer) { - static_assert(sizeof(T::value_type) == 1); + static_assert(sizeof(typename T::value_type) == 1); OpenMem(name, (const char*)buffer.data(), (int)buffer.size()); } void OpenString(const char *name, FString buffer);