diff options
author | fanquake <fanquake@gmail.com> | 2022-06-09 16:26:55 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-07-08 11:06:01 +0100 |
commit | 07f2c25d04c39a0074e1d9ee1b24b3e359c8153f (patch) | |
tree | 167946c643c37689ecaf75756038cc88c8c43fcf /src/util/thread.cpp | |
parent | a7f3479ba3fda4c9fb29bd7080165744c02ee921 (diff) |
refactor: add most of src/util to iwyu
These files change infrequently, and not much header shuffling is required.
We don't add everything in src/util/ yet, because IWYU makes some
dubious suggestions, which I'm going to follow up with upstream.
Diffstat (limited to 'src/util/thread.cpp')
-rw-r--r-- | src/util/thread.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/thread.cpp b/src/util/thread.cpp index 14be668685..f9f427ba20 100644 --- a/src/util/thread.cpp +++ b/src/util/thread.cpp @@ -9,6 +9,7 @@ #include <util/threadnames.h> #include <exception> +#include <functional> void util::TraceThread(const char* thread_name, std::function<void()> thread_func) { |