Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use
make_shared
to create singleton (#1004)
Summary: Hi, this change fixes a compiler-related issue in our internal environment. `make_shared` is recommended over `std::shared_ptr(new)`. Although it's not broken in the open-source version, I still believe it is valuable to merge this change. Pull Request resolved: #1004 Reviewed By: sraikund16 Differential Revision: D64775478 Pulled By: briancoutinho fbshipit-source-id: 48b9bceace195de8fccc8f3ace9481e761641bb6
- Loading branch information