Strengthened `const`-ness of `ThreadPoolExecutor`, and its derived classes.
Summary: It was observed in D14238146 that `ThreadPoolExecutor::numThreads()` is not marked `const`, and it seems that it really should be. This patch marks that function `const` as well as others in this class that seems they should be `const`. Reviewed By: yfeldblum Differential Revision: D14681960 fbshipit-source-id: f274b9788ae7e27d6bec22aec2818abeb6441531
Showing
Please register or sign in to comment