diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-03-26 18:58:55 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-03-26 18:58:58 +0100 |
commit | fcabff5702fd00d575f1f214bf9b6ced037be53b (patch) | |
tree | 8de3d56ba8785c568e3f84bc5d14be29af5d25bb /src/other_tools/utils | |
parent | 527e5d552b64c00f4af27007c37de5bf8f100c80 (diff) | |
download | justbuild-fcabff5702fd00d575f1f214bf9b6ced037be53b.tar.gz |
Add missing system includes
Main culprits:
- std::size_t, std::nullptr_t, and NULL require <cstddef>
- std::move and std::forward require <utility>
- unordered maps and sets require respective includes
- std::for_each and std::all_of require <algorithm>
Diffstat (limited to 'src/other_tools/utils')
-rw-r--r-- | src/other_tools/utils/content.hpp | 1 | ||||
-rw-r--r-- | src/other_tools/utils/parse_archive.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/other_tools/utils/content.hpp b/src/other_tools/utils/content.hpp index b1308a97..15c582c4 100644 --- a/src/other_tools/utils/content.hpp +++ b/src/other_tools/utils/content.hpp @@ -17,6 +17,7 @@ #include <optional> #include <string> +#include <utility> // std::move #include <variant> #include "src/buildtool/common/user_structs.hpp" diff --git a/src/other_tools/utils/parse_archive.cpp b/src/other_tools/utils/parse_archive.cpp index f0026eaa..1aebe239 100644 --- a/src/other_tools/utils/parse_archive.cpp +++ b/src/other_tools/utils/parse_archive.cpp @@ -14,6 +14,8 @@ #include "src/other_tools/utils/parse_archive.hpp" +#include <utility> // std::move + #include "fmt/core.h" namespace { |