Use the provided allocator in destroy() (#4842)#4843
Conversation
Uses the provided allocator to allocate the stack used to avoid recursion in the destroy() implementation used by ~basic_json.
|
This pull request has been marked as stale because it has had no activity for 30 days. While we won’t close it automatically, we encourage you to update or comment if it is still relevant. Keeping pull requests active and up-to-date helps us review and merge changes more efficiently. Thank you for your contributions! |
|
Please rebase to the latest |
|
This pull request has been marked as stale because it has had no activity for 30 days. While we won’t close it automatically, we encourage you to update or comment if it is still relevant. Keeping pull requests active and up-to-date helps us review and merge changes more efficiently. Thank you for your contributions! |
|
This pull request has been marked as stale because it has had no activity for 30 days. While we won’t close it automatically, we encourage you to update or comment if it is still relevant. Keeping pull requests active and up-to-date helps us review and merge changes more efficiently. Thank you for your contributions! |
Uses the provided allocator to allocate the stack used to avoid recursion in the destroy() implementation used by ~basic_json.
This addresses issue #4842, by changing the std::vector to use the user-provided allocatorl