Avoid shared_ptr copy in EventBaseLocal::getOrCreate
Summary: `folly::get_default()` returns a copy of shared_ptr that gets immediately discarded. The change avoids that. Reviewed By: yfeldblum Differential Revision: D22119215 fbshipit-source-id: 36aab580d7042d19b6b076cad20586697fbfa5e3
Showing
Please register or sign in to comment