Avoid unnecessary reset() of otherwise const shared_ptr in destroy() as this necessities locking for potentially concurrent access.
7.3 KiB
7.3 KiB
Avoid unnecessary reset() of otherwise const shared_ptr in destroy() as this necessities locking for potentially concurrent access.