diff --git a/src/ArduinoJson/Memory/ResourceManager.hpp b/src/ArduinoJson/Memory/ResourceManager.hpp index 4d044b9e..d566e3fa 100644 --- a/src/ArduinoJson/Memory/ResourceManager.hpp +++ b/src/ArduinoJson/Memory/ResourceManager.hpp @@ -45,6 +45,7 @@ class ResourceManager { #if ARDUINOJSON_USE_8_BYTE_POOL swap(a.eightBytePools_, b.eightBytePools_); #endif + swap_(a.allocator_, b.allocator_); swap_(a.overflowed_, b.overflowed_); }