Skip to content

Commit 5e0e356

Browse files
committed
Double speed of DynamicJsonDocument::garbageCollect()
1 parent c4b8796 commit 5e0e356

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ArduinoJson/Document/JsonDocument.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ class JsonDocument : public detail::VariantOperators<const JsonDocument&> {
9797
JsonDocument tmp(*this);
9898
if (!tmp._pool.capacity())
9999
return false;
100-
tmp.set(*this);
101100
moveAssignFrom(tmp);
102101
return true;
103102
}

0 commit comments

Comments
 (0)