From 747643e84ef26f5947aff14550eaa8acac8880cd Mon Sep 17 00:00:00 2001 From: fgungor Date: Mon, 8 Sep 2025 04:10:10 +0200 Subject: [PATCH] [Core] fix unused extra macro param in CLAY_SID_LOCAL (#505) --- clay.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clay.h b/clay.h index dfa2952..7a39781 100644 --- a/clay.h +++ b/clay.h @@ -85,7 +85,7 @@ // Note: If a compile error led you here, you might be trying to use CLAY_ID_LOCAL with something other than a string literal. To construct an ID with a dynamic string, use CLAY_SID_LOCAL instead. #define CLAY_ID_LOCAL(label) CLAY_SID_LOCAL(CLAY_STRING(label)) -#define CLAY_SID_LOCAL(label, index) Clay__HashString(label, Clay__GetParentElementId()) +#define CLAY_SID_LOCAL(label) Clay__HashString(label, Clay__GetParentElementId()) // Note: If a compile error led you here, you might be trying to use CLAY_IDI_LOCAL with something other than a string literal. To construct an ID with a dynamic string, use CLAY_SIDI_LOCAL instead. #define CLAY_IDI_LOCAL(label, index) CLAY_SIDI_LOCAL(CLAY_STRING(label), index)