From 03116ea878ebff516ac88d601bc32eafca48e6f0 Mon Sep 17 00:00:00 2001 From: Rubidium Date: Sun, 11 May 2025 12:43:42 +0200 Subject: [PATCH] Codechange: remove now unused cpp_sizeof --- src/stdafx.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/stdafx.h b/src/stdafx.h index cf75d44b1a..e9ae4c02d3 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -270,14 +270,6 @@ char (&ArraySizeHelper(T (&array)[N]))[N]; */ #define lengthof(array) (sizeof(ArraySizeHelper(array))) -/** - * Gets the size of a variable within a class. - * @param base The class the variable is in. - * @param variable The variable to get the size of. - * @return the size of the variable - */ -#define cpp_sizeof(base, variable) (sizeof(std::declval().variable)) - /* take care of some name clashes on MacOS */ #if defined(__APPLE__)