diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-03-18 23:48:22 -0400 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-03-19 02:23:33 -0400 |
commit | 8a8ea65faeda6fb1fa45eb3734b9a3b991477cdb (patch) | |
tree | 515c7dc2e52bda8afa9244f1808cd9a6d5bfb671 | |
parent | ade596121bc834502c63cdedcd8f68a1f490599d (diff) |
common: Reduce unused includes
-rw-r--r-- | src/common/fs/file.cpp | 2 | ||||
-rw-r--r-- | src/common/fs/file.h | 2 | ||||
-rw-r--r-- | src/common/fs/fs_types.h | 1 | ||||
-rw-r--r-- | src/common/fs/fs_util.cpp | 2 | ||||
-rw-r--r-- | src/common/fs/fs_util.h | 1 | ||||
-rw-r--r-- | src/common/logging/backend.cpp | 2 | ||||
-rw-r--r-- | src/common/logging/backend.h | 1 | ||||
-rw-r--r-- | src/common/logging/filter.h | 1 |
8 files changed, 0 insertions, 12 deletions
diff --git a/src/common/fs/file.cpp b/src/common/fs/file.cpp index 274f57659b..b89e785c2e 100644 --- a/src/common/fs/file.cpp +++ b/src/common/fs/file.cpp @@ -4,12 +4,10 @@ #include "common/fs/file.h" #include "common/fs/fs.h" -#include "common/fs/path_util.h" #include "common/logging/log.h" #ifdef _WIN32 #include <io.h> -#include <share.h> #else #include <unistd.h> #endif diff --git a/src/common/fs/file.h b/src/common/fs/file.h index a4f7944cd1..8a2cab0aff 100644 --- a/src/common/fs/file.h +++ b/src/common/fs/file.h @@ -6,10 +6,8 @@ #include <cstdio> #include <filesystem> -#include <fstream> #include <span> #include <type_traits> -#include <vector> #include "common/concepts.h" #include "common/fs/fs_types.h" diff --git a/src/common/fs/fs_types.h b/src/common/fs/fs_types.h index 089980aee3..f5853f624a 100644 --- a/src/common/fs/fs_types.h +++ b/src/common/fs/fs_types.h @@ -7,7 +7,6 @@ #include <functional> #include "common/common_funcs.h" -#include "common/common_types.h" namespace Common::FS { diff --git a/src/common/fs/fs_util.cpp b/src/common/fs/fs_util.cpp index 0068112e63..1f47c2310d 100644 --- a/src/common/fs/fs_util.cpp +++ b/src/common/fs/fs_util.cpp @@ -2,8 +2,6 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include <algorithm> - #include "common/fs/fs_util.h" namespace Common::FS { diff --git a/src/common/fs/fs_util.h b/src/common/fs/fs_util.h index 1620d38c94..392af89f73 100644 --- a/src/common/fs/fs_util.h +++ b/src/common/fs/fs_util.h @@ -8,7 +8,6 @@ #include <filesystem> #include <span> #include <string> -#include <string_view> #include "common/common_types.h" diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 4a2462ec4a..b3793106da 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -5,10 +5,8 @@ #include <atomic> #include <chrono> #include <climits> -#include <exception> #include <stop_token> #include <thread> -#include <vector> #include <fmt/format.h> diff --git a/src/common/logging/backend.h b/src/common/logging/backend.h index bf785f402e..a0e80fe3c1 100644 --- a/src/common/logging/backend.h +++ b/src/common/logging/backend.h @@ -4,7 +4,6 @@ #pragma once -#include <filesystem> #include "common/logging/filter.h" namespace Common::Log { diff --git a/src/common/logging/filter.h b/src/common/logging/filter.h index 1a3074e048..29419f0518 100644 --- a/src/common/logging/filter.h +++ b/src/common/logging/filter.h @@ -7,7 +7,6 @@ #include <array> #include <chrono> #include <cstddef> -#include <string_view> #include "common/logging/log.h" namespace Common::Log { |