rm5248 commented on pull request #96: URL: https://github.com/apache/logging-log4cxx/pull/96#issuecomment-1004836869
I think it may actually depend on the context. If you're returning a new `shared_ptr` the reference count would not have to be incremented. If you're returning a `shared_ptr` to some sort of member variable it would need to be incremented and thus locked. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
