summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_byte_codegen.h
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2024-01-17 18:53:33 +0100
committerYuri Sizov <yuris@humnom.net>2024-01-17 18:53:33 +0100
commitb6a2c7803395b5084cc7a61e4295eee0573480ad (patch)
treed552459a9ebe45f507a867dc1aad234725b8fa67 /modules/gdscript/gdscript_byte_codegen.h
parente61cae06c6c9aab92d29f11b4a83c7d0c0fabd5b (diff)
parent0a7579b161834d052e89e9319ed248a04554e85d (diff)
downloadredot-engine-b6a2c7803395b5084cc7a61e4295eee0573480ad.tar.gz
Merge pull request #87286 from akien-mga/fix-preprocessor-if-ENABLED-checks
Fix `#if *_ENABLED` inconsistencies, should check if defined
Diffstat (limited to 'modules/gdscript/gdscript_byte_codegen.h')
-rw-r--r--modules/gdscript/gdscript_byte_codegen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_byte_codegen.h b/modules/gdscript/gdscript_byte_codegen.h
index 9bface6136..f902cb10cc 100644
--- a/modules/gdscript/gdscript_byte_codegen.h
+++ b/modules/gdscript/gdscript_byte_codegen.h
@@ -121,7 +121,7 @@ class GDScriptByteCodeGenerator : public GDScriptCodeGenerator {
RBMap<MethodBind *, int> method_bind_map;
RBMap<GDScriptFunction *, int> lambdas_map;
-#if DEBUG_ENABLED
+#ifdef DEBUG_ENABLED
// Keep method and property names for pointer and validated operations.
// Used when disassembling the bytecode.
Vector<String> operator_names;