Skip to content

Commit

Permalink
ResourceManager: remove unused operator new
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Jun 17, 2023
1 parent 44b9bbc commit 978b377
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/ArduinoJson/Memory/ResourceManager.hpp
Expand Up @@ -169,11 +169,6 @@ class ResourceManager {
deallocAllStrings();
}

// Workaround for missing placement new
void* operator new(size_t, void* p) {
return p;
}

ptrdiff_t shrinkToFit() {
return variantPool_.shrinkToFit(allocator_);
}
Expand Down

0 comments on commit 978b377

Please sign in to comment.