mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-29 18:27:37 +02:00
ResourceManager: remove unused operator new
This commit is contained in:
@ -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_);
|
||||
}
|
||||
|
Reference in New Issue
Block a user