From 5ffc62e1df6a85cc4e2874e80fe73919ef75b0df Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 7 Nov 2024 15:27:18 +0100 Subject: auth: Implement IWYU suggestions --- src/buildtool/auth/TARGETS | 2 +- src/buildtool/auth/authentication.hpp | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/buildtool/auth/TARGETS b/src/buildtool/auth/TARGETS index a66aae44..f54b3cc2 100644 --- a/src/buildtool/auth/TARGETS +++ b/src/buildtool/auth/TARGETS @@ -3,7 +3,7 @@ , "name": ["auth"] , "hdrs": ["authentication.hpp"] , "deps": - [ ["@", "gsl", "", "gsl"] + [ ["@", "fmt", "", "fmt"] , ["src/buildtool/logging", "log_level"] , ["src/buildtool/logging", "logging"] , ["src/utils/cpp", "expected"] diff --git a/src/buildtool/auth/authentication.hpp b/src/buildtool/auth/authentication.hpp index ace2e60d..24c0cf93 100644 --- a/src/buildtool/auth/authentication.hpp +++ b/src/buildtool/auth/authentication.hpp @@ -15,17 +15,18 @@ #ifndef INCLUDED_SRC_BUILDTOOL_AUTH_AUTHENTICATION_HPP #define INCLUDED_SRC_BUILDTOOL_AUTH_AUTHENTICATION_HPP -#include // for errno -#include +#include // for errno #include // for strerror() +#include #include #include +#include #include -#include #include #include +#include -#include "gsl/gsl" +#include "fmt/core.h" #include "src/buildtool/logging/log_level.hpp" #include "src/buildtool/logging/logger.hpp" #include "src/utils/cpp/expected.hpp" -- cgit v1.2.3