forked from bblanchon/ArduinoJson
Double speed of DynamicJsonDocument::garbageCollect()
This commit is contained in:
1 parent
5edd435fe9
commit
9bb3f4051d
2 files changed
+5
-1
No files matched your search
@@ -127,7 +127,6 @@ class BasicJsonDocument : AllocatorOwner<TAllocator>, public JsonDocument {
|
||||
BasicJsonDocument tmp(*this);
|
||||
if (!tmp.capacity())
|
||||
return false;
|
||||
tmp.set(*this);
|
||||
moveAssignFrom(tmp);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user