diff --git a/folly/executors/CPUThreadPoolExecutor.h b/folly/executors/CPUThreadPoolExecutor.h index b972adaf2f4..671d5a2f5f3 100644 --- a/folly/executors/CPUThreadPoolExecutor.h +++ b/folly/executors/CPUThreadPoolExecutor.h @@ -179,7 +179,7 @@ class CPUThreadPoolExecutor : public ThreadPoolExecutor, static const size_t kDefaultMaxQueueSize; protected: - BlockingQueue* getTaskQueue(); + BlockingQueue* FOLLY_NONNULL getTaskQueue(); std::unique_ptr threadIdCollector_{ std::make_unique()};