From 8a8ea65faeda6fb1fa45eb3734b9a3b991477cdb Mon Sep 17 00:00:00 2001 From: ameerj <52414509+ameerj@users.noreply.github.com> Date: Fri, 18 Mar 2022 23:48:22 -0400 Subject: common: Reduce unused includes --- src/common/fs/file.cpp | 2 -- src/common/fs/file.h | 2 -- src/common/fs/fs_types.h | 1 - src/common/fs/fs_util.cpp | 2 -- src/common/fs/fs_util.h | 1 - src/common/logging/backend.cpp | 2 -- src/common/logging/backend.h | 1 - src/common/logging/filter.h | 1 - 8 files changed, 12 deletions(-) (limited to 'src/common') diff --git a/src/common/fs/file.cpp b/src/common/fs/file.cpp index 274f57659..b89e785c2 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 -#include #else #include #endif diff --git a/src/common/fs/file.h b/src/common/fs/file.h index a4f7944cd..8a2cab0af 100644 --- a/src/common/fs/file.h +++ b/src/common/fs/file.h @@ -6,10 +6,8 @@ #include #include -#include #include #include -#include #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 089980aee..f5853f624 100644 --- a/src/common/fs/fs_types.h +++ b/src/common/fs/fs_types.h @@ -7,7 +7,6 @@ #include #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 0068112e6..1f47c2310 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 - #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 1620d38c9..392af89f7 100644 --- a/src/common/fs/fs_util.h +++ b/src/common/fs/fs_util.h @@ -8,7 +8,6 @@ #include #include #include -#include #include "common/common_types.h" diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 4a2462ec4..b3793106d 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -5,10 +5,8 @@ #include #include #include -#include #include #include -#include #include diff --git a/src/common/logging/backend.h b/src/common/logging/backend.h index bf785f402..a0e80fe3c 100644 --- a/src/common/logging/backend.h +++ b/src/common/logging/backend.h @@ -4,7 +4,6 @@ #pragma once -#include #include "common/logging/filter.h" namespace Common::Log { diff --git a/src/common/logging/filter.h b/src/common/logging/filter.h index 1a3074e04..29419f051 100644 --- a/src/common/logging/filter.h +++ b/src/common/logging/filter.h @@ -7,7 +7,6 @@ #include #include #include -#include #include "common/logging/log.h" namespace Common::Log { -- cgit v1.2.3