From 199cff717edd417de9b35d42855cc8f3f8da3f93 Mon Sep 17 00:00:00 2001 From: Jakub Piasecki Date: Wed, 25 Feb 2026 23:28:40 -0800 Subject: [PATCH] Rename template type not to collide with existing identifier (#55741) Summary: Changelog: [Internal] Changes `Delim` type name to `DelimT`, aligning it to other themplate types, which are suffixed with `T`. Reviewed By: cipolleschi Differential Revision: D94361540 --- .../ReactCommon/react/renderer/css/CSSList.h | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/react-native/ReactCommon/react/renderer/css/CSSList.h b/packages/react-native/ReactCommon/react/renderer/css/CSSList.h index acb33ae3403d..98004ec4a096 100644 --- a/packages/react-native/ReactCommon/react/renderer/css/CSSList.h +++ b/packages/react-native/ReactCommon/react/renderer/css/CSSList.h @@ -17,22 +17,22 @@ namespace facebook::react { -template +template struct CSSList; -template -struct CSSList : public std::vector {}; +template +struct CSSList : public std::vector {}; -template -struct CSSList : public std::vector {}; +template +struct CSSList : public std::vector {}; -template -struct CSSDataTypeParser> { - static inline auto consume(CSSValueParser &parser) -> std::optional> +template +struct CSSDataTypeParser> { + static inline auto consume(CSSValueParser &parser) -> std::optional> { - CSSList result; + CSSList result; for (auto nextValue = parser.parseNextValue(); !std::holds_alternative(nextValue); - nextValue = parser.parseNextValue(Delim)) { + nextValue = parser.parseNextValue(Delimeter)) { // Copy from the variant of possible values to the element (either the // concrete type, or a variant of compound types which exlcudes the // possibility of std::monostate for parse error)