diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-11-08 14:52:51 +0100 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-11-14 14:23:05 +0100 |
commit | 300adf3d40cf9e87b277e6922b571c3938d41655 (patch) | |
tree | de1ceac4cad4fa137664f85c80626473e9e012f0 /src | |
parent | e89833e12fd374a107e7595d63c4b4f17a4c7496 (diff) | |
download | justbuild-300adf3d40cf9e87b277e6922b571c3938d41655.tar.gz |
crypto: Implement IWYU suggestions
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/crypto/TARGETS | 1 | ||||
-rw-r--r-- | src/buildtool/crypto/hash_function.hpp | 1 | ||||
-rw-r--r-- | src/buildtool/crypto/hash_info.cpp | 1 | ||||
-rw-r--r-- | src/buildtool/crypto/hash_info.hpp | 1 | ||||
-rw-r--r-- | src/buildtool/crypto/hasher.cpp | 1 |
5 files changed, 3 insertions, 2 deletions
diff --git a/src/buildtool/crypto/TARGETS b/src/buildtool/crypto/TARGETS index e2f010f5..89a12c87 100644 --- a/src/buildtool/crypto/TARGETS +++ b/src/buildtool/crypto/TARGETS @@ -33,7 +33,6 @@ , "private-deps": [ "hasher" , ["@", "fmt", "", "fmt"] - , ["@", "gsl", "", "gsl"] , ["src/buildtool/common", "protocol_traits"] , ["src/utils/cpp", "hex_string"] ] diff --git a/src/buildtool/crypto/hash_function.hpp b/src/buildtool/crypto/hash_function.hpp index 530e0b2b..0b2551e5 100644 --- a/src/buildtool/crypto/hash_function.hpp +++ b/src/buildtool/crypto/hash_function.hpp @@ -15,6 +15,7 @@ #ifndef INCLUDED_SRC_BUILDTOOL_CRYPTO_HASH_FUNCTION_HPP #define INCLUDED_SRC_BUILDTOOL_CRYPTO_HASH_FUNCTION_HPP +#include <cstddef> #include <cstdint> #include <filesystem> #include <functional> diff --git a/src/buildtool/crypto/hash_info.cpp b/src/buildtool/crypto/hash_info.cpp index e185d214..95a5112a 100644 --- a/src/buildtool/crypto/hash_info.cpp +++ b/src/buildtool/crypto/hash_info.cpp @@ -15,7 +15,6 @@ #include "src/buildtool/crypto/hash_info.hpp" #include "fmt/core.h" -#include "gsl/gsl" // Ensures #include "src/buildtool/common/protocol_traits.hpp" #include "src/buildtool/crypto/hasher.hpp" #include "src/utils/cpp/hex_string.hpp" diff --git a/src/buildtool/crypto/hash_info.hpp b/src/buildtool/crypto/hash_info.hpp index dc40e7ca..fdc252b0 100644 --- a/src/buildtool/crypto/hash_info.hpp +++ b/src/buildtool/crypto/hash_info.hpp @@ -15,6 +15,7 @@ #ifndef INCLUDED_SRC_BUILDTOOL_CRYPTO_HASH_INFO_HPP #define INCLUDED_SRC_BUILDTOOL_CRYPTO_HASH_INFO_HPP +#include <cstdint> #include <filesystem> #include <optional> #include <string> diff --git a/src/buildtool/crypto/hasher.cpp b/src/buildtool/crypto/hasher.cpp index 7c5d1d9c..7743d96d 100644 --- a/src/buildtool/crypto/hasher.cpp +++ b/src/buildtool/crypto/hasher.cpp @@ -14,6 +14,7 @@ #include "src/buildtool/crypto/hasher.hpp" +#include <array> #include <exception> #include <limits> #include <string_view> |