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);