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