Simplify folly/test/ExecutorTest.cpp
Summary: [Folly] Simplify `folly/test/ExecutorTest.cpp`. * `auto` is fine. * `auto` is equivalent to `auto&&` when copy-elision is performed - in the former case, the compiler may use copy-elision to elide materialization of a temporary, whereas in the latter case, the compiler must materialize a temporary, rendering them equivalent.. * `std::addressof` is useful only for unknown types; prefix-`&` is fine for known types which do not overload that operator. Reviewed By: Orvid Differential Revision: D8226453 fbshipit-source-id: c987c71d65c01a2d8ca81960f796fcc6100c3484
Showing
Please register or sign in to comment