From 26b2ff4c0f453b7b02e877c1a4a7903c29b3b0bc Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Mon, 9 Oct 2023 14:55:49 +0200 Subject: [PATCH] Reorder `StringNode`'s members to reduce code size --- src/ArduinoJson/Memory/StringNode.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ArduinoJson/Memory/StringNode.hpp b/src/ArduinoJson/Memory/StringNode.hpp index 44254a87..9ce5cca3 100644 --- a/src/ArduinoJson/Memory/StringNode.hpp +++ b/src/ArduinoJson/Memory/StringNode.hpp @@ -22,8 +22,8 @@ struct StringNode { using length_type = uint_t::type; struct StringNode* next; - length_type length; references_type references; + length_type length; char data[1]; static constexpr size_t maxLength = numeric_limits::highest();