From: Joel Rosdahl Date: Mon, 27 Oct 2025 20:33:40 +0000 (+0100) Subject: chore: Make ThreadPool non-copyable X-Git-Tag: v4.13~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63e4c809ef6dbd790247166f4e72149fc9769856;p=thirdparty%2Fccache.git chore: Make ThreadPool non-copyable --- diff --git a/src/ccache/util/threadpool.hpp b/src/ccache/util/threadpool.hpp index 091a22cf..6c046ac6 100644 --- a/src/ccache/util/threadpool.hpp +++ b/src/ccache/util/threadpool.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2019-2024 Joel Rosdahl and other contributors +// Copyright (C) 2019-2025 Joel Rosdahl and other contributors // // See doc/authors.adoc for a complete list of contributors. // @@ -18,6 +18,8 @@ #pragma once +#include + #include #include #include @@ -29,7 +31,7 @@ namespace util { -class ThreadPool +class ThreadPool : util::NonCopyable { public: explicit ThreadPool(