summaryrefslogtreecommitdiff
path: root/src/utils/cpp/hash_combine.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-03-26 18:58:55 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-03-26 18:58:58 +0100
commitfcabff5702fd00d575f1f214bf9b6ced037be53b (patch)
tree8de3d56ba8785c568e3f84bc5d14be29af5d25bb /src/utils/cpp/hash_combine.hpp
parent527e5d552b64c00f4af27007c37de5bf8f100c80 (diff)
downloadjustbuild-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/utils/cpp/hash_combine.hpp')
-rw-r--r--src/utils/cpp/hash_combine.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/cpp/hash_combine.hpp b/src/utils/cpp/hash_combine.hpp
index 6660815d..a09c9985 100644
--- a/src/utils/cpp/hash_combine.hpp
+++ b/src/utils/cpp/hash_combine.hpp
@@ -15,6 +15,8 @@
#ifndef INCLUDED_SRC_UTILS_CPP_HASH_COMBINE_HPP
#define INCLUDED_SRC_UTILS_CPP_HASH_COMBINE_HPP
+#include <cstddef>
+
#include "gsl/gsl"
// Taken from Boost, as hash_combine did not yet make it to STL.