@@ -39,7 +39,7 @@ class ResourceManager {
3939 swap (a.stringPool_ , b.stringPool_ );
4040 swap (a.variantPools_ , b.variantPools_ );
4141 swap (a.staticStringsPools_ , b.staticStringsPools_ );
42- swap (a.lgValuePools_ , b.lgValuePools_ );
42+ swap (a.eightBytePools_ , b.eightBytePools_ );
4343 swap_ (a.allocator_ , b.allocator_ );
4444 swap_ (a.overflowed_ , b.overflowed_ );
4545 }
@@ -60,7 +60,7 @@ class ResourceManager {
6060 void freeVariant (Slot<VariantData> slot);
6161 VariantData* getVariant (SlotId id) const ;
6262
63- #if ARDUINOJSON_USE_8_BYTE_VALUES
63+ #if ARDUINOJSON_USE_8_BYTE_POOL
6464 Slot<EightByteValue> allocEightByte ();
6565 void freeEightByte (SlotId slot);
6666 EightByteValue* getEightByte (SlotId id) const ;
@@ -132,16 +132,16 @@ class ResourceManager {
132132 variantPools_.clear (allocator_);
133133 stringPool_.clear (allocator_);
134134 staticStringsPools_.clear (allocator_);
135- #if ARDUINOJSON_USE_8_BYTE_VALUES
136- lgValuePools_ .clear (allocator_);
135+ #if ARDUINOJSON_USE_8_BYTE_POOL
136+ eightBytePools_ .clear (allocator_);
137137#endif
138138 }
139139
140140 void shrinkToFit () {
141141 variantPools_.shrinkToFit (allocator_);
142142 staticStringsPools_.shrinkToFit (allocator_);
143- #if ARDUINOJSON_USE_8_BYTE_VALUES
144- lgValuePools_ .shrinkToFit (allocator_);
143+ #if ARDUINOJSON_USE_8_BYTE_POOL
144+ eightBytePools_ .shrinkToFit (allocator_);
145145#endif
146146 }
147147
@@ -151,7 +151,7 @@ class ResourceManager {
151151 StringPool stringPool_;
152152 MemoryPoolList<SlotData> variantPools_;
153153 MemoryPoolList<const char *> staticStringsPools_;
154- #if ARDUINOJSON_USE_8_BYTE_VALUES
154+ #if ARDUINOJSON_USE_8_BYTE_POOL
155155 MemoryPoolList<EightByteValue> eightBytePools_;
156156#endif
157157};
0 commit comments