diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61617ead4be867bd993cd44ece95e4e4417b95ed..62c5c6a7a6d0347cb1abec5d1bc7f2422d728536 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: "flowdalic/debian-testing-dev:1.23" +image: "flowdalic/debian-testing-dev:1.24" before_script: - ulimit -a diff --git a/emper/Scheduler.hpp b/emper/Scheduler.hpp index 007c0956eaca475269d5cd058f30ec7946ea857e..35c0d7afd7080c2d8985be3705af6a7714de9148 100644 --- a/emper/Scheduler.hpp +++ b/emper/Scheduler.hpp @@ -1,7 +1,8 @@ // SPDX-License-Identifier: LGPL-3.0-or-later -// Copyright © 2020-2021 Florian Schmaus +// Copyright © 2020-2022 Florian Schmaus #pragma once +#include <algorithm> #include <cstddef> #include <functional> // for function #include <optional> diff --git a/iwyu-mappings.imp b/iwyu-mappings.imp index d363fabea071b8ee4edc3b266606db4a874f6eae..1b49c3112403a171cceceb20bdd69dcbe71ddcd0 100644 --- a/iwyu-mappings.imp +++ b/iwyu-mappings.imp @@ -9,6 +9,7 @@ { include: ["<bits/types/struct_tm.h>", "private", "<ctime>", "public" ] }, { include: ["<bits/types/siginfo_t.h>", "private", "<signal.h>", "public" ] }, { include: ["<bits/types/stack_t.h>", "private", "<signal.h>", "public" ] }, + { include: ["<bits/chrono.h>", "private", "<chrono>", "public" ] }, { include: ["<boost/detail/basic_pointerbuf.hpp>", "private", "<boost/program_options.hpp>", "public"], }, { include: ["<boost/lexical_cast/bad_lexical_cast.hpp>", "private", "<boost/program_options.hpp>", "public"], }, { include: ["<boost/program_options/detail/parsers.hpp>", "private", "<boost/program_options.hpp>", "public"], }, @@ -26,4 +27,10 @@ { symbol: ["__kernel_timespec", "private", "<liburing.h>", "public" ] }, { symbol: ["__s32", "private", "<liburing.h>", "public" ] }, { symbol: ["std::filesystem", "private", "<filesystem>", "public" ] }, + + # Workaround for https://github.com/include-what-you-use/include-what-you-use/issues/908 + # Not actually sure if the currently listed headers, array and thread, are correct. + { symbol: ["std::copy", "private", "<algorithm>", "public" ] }, + { symbol: ["std::copy", "private", "<array>", "public" ] }, + { symbol: ["std::copy", "private", "<thread>", "public" ] }, ] diff --git a/tests/SimpleActorTest.cpp b/tests/SimpleActorTest.cpp index 7e287c2ee37a1922ecca9a853334320687cc0105..beb97d883df6e5653270352829ce0a8a11f36a85 100644 --- a/tests/SimpleActorTest.cpp +++ b/tests/SimpleActorTest.cpp @@ -1,5 +1,6 @@ // SPDX-License-Identifier: LGPL-3.0-or-later -// Copyright © 2020-2021 Florian Schmaus +// Copyright © 2020-2022 Florian Schmaus +#include <algorithm> #include <atomic> // for atomic_thread_fence, memory_... #include <cstdint> // for uint64_t #include <cstdlib> // for exit, EXIT_FAILURE, EXIT_SUC...