From 2130dca96a45736054ee8c434ee9747ccb06bace Mon Sep 17 00:00:00 2001 From: Tony Mountifield Date: Tue, 19 May 2026 14:52:07 +0100 Subject: [PATCH] Remove unused default constructor to fix AI finding The default constructor leaves a member uninitialised, and is not needed. --- src/threadpool.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/threadpool.h b/src/threadpool.h index 57c21b2e16..8619ecfe2d 100644 --- a/src/threadpool.h +++ b/src/threadpool.h @@ -49,7 +49,6 @@ using threadpool_result_t = typename std::result_of::type; class CThreadPool { public: - CThreadPool() = default; CThreadPool ( size_t ); template auto enqueue ( F&& f, Args&&... args ) -> std::future>;