From 300adf3d40cf9e87b277e6922b571c3938d41655 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Fri, 8 Nov 2024 14:52:51 +0100 Subject: crypto: Implement IWYU suggestions --- src/buildtool/crypto/TARGETS | 1 - src/buildtool/crypto/hash_function.hpp | 1 + src/buildtool/crypto/hash_info.cpp | 1 - src/buildtool/crypto/hash_info.hpp | 1 + src/buildtool/crypto/hasher.cpp | 1 + 5 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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 #include #include #include 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 #include #include #include 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 #include #include #include -- cgit v1.2.3