diff options
| author | 2022-03-18 23:48:22 -0400 | |
|---|---|---|
| committer | 2022-03-19 02:23:33 -0400 | |
| commit | 8a8ea65faeda6fb1fa45eb3734b9a3b991477cdb (patch) | |
| tree | 515c7dc2e52bda8afa9244f1808cd9a6d5bfb671 | |
| parent | core: Reduce unused includes (diff) | |
| download | yuzu-8a8ea65faeda6fb1fa45eb3734b9a3b991477cdb.tar.gz yuzu-8a8ea65faeda6fb1fa45eb3734b9a3b991477cdb.tar.xz yuzu-8a8ea65faeda6fb1fa45eb3734b9a3b991477cdb.zip | |
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 274f57659..b89e785c2 100644 --- a/src/common/fs/file.cpp +++ b/src/common/fs/file.cpp | |||
| @@ -4,12 +4,10 @@ | |||
| 4 | 4 | ||
| 5 | #include "common/fs/file.h" | 5 | #include "common/fs/file.h" |
| 6 | #include "common/fs/fs.h" | 6 | #include "common/fs/fs.h" |
| 7 | #include "common/fs/path_util.h" | ||
| 8 | #include "common/logging/log.h" | 7 | #include "common/logging/log.h" |
| 9 | 8 | ||
| 10 | #ifdef _WIN32 | 9 | #ifdef _WIN32 |
| 11 | #include <io.h> | 10 | #include <io.h> |
| 12 | #include <share.h> | ||
| 13 | #else | 11 | #else |
| 14 | #include <unistd.h> | 12 | #include <unistd.h> |
| 15 | #endif | 13 | #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 @@ | |||
| 6 | 6 | ||
| 7 | #include <cstdio> | 7 | #include <cstdio> |
| 8 | #include <filesystem> | 8 | #include <filesystem> |
| 9 | #include <fstream> | ||
| 10 | #include <span> | 9 | #include <span> |
| 11 | #include <type_traits> | 10 | #include <type_traits> |
| 12 | #include <vector> | ||
| 13 | 11 | ||
| 14 | #include "common/concepts.h" | 12 | #include "common/concepts.h" |
| 15 | #include "common/fs/fs_types.h" | 13 | #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 @@ | |||
| 7 | #include <functional> | 7 | #include <functional> |
| 8 | 8 | ||
| 9 | #include "common/common_funcs.h" | 9 | #include "common/common_funcs.h" |
| 10 | #include "common/common_types.h" | ||
| 11 | 10 | ||
| 12 | namespace Common::FS { | 11 | namespace Common::FS { |
| 13 | 12 | ||
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 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <algorithm> | ||
| 6 | |||
| 7 | #include "common/fs/fs_util.h" | 5 | #include "common/fs/fs_util.h" |
| 8 | 6 | ||
| 9 | namespace Common::FS { | 7 | 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 @@ | |||
| 8 | #include <filesystem> | 8 | #include <filesystem> |
| 9 | #include <span> | 9 | #include <span> |
| 10 | #include <string> | 10 | #include <string> |
| 11 | #include <string_view> | ||
| 12 | 11 | ||
| 13 | #include "common/common_types.h" | 12 | #include "common/common_types.h" |
| 14 | 13 | ||
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 @@ | |||
| 5 | #include <atomic> | 5 | #include <atomic> |
| 6 | #include <chrono> | 6 | #include <chrono> |
| 7 | #include <climits> | 7 | #include <climits> |
| 8 | #include <exception> | ||
| 9 | #include <stop_token> | 8 | #include <stop_token> |
| 10 | #include <thread> | 9 | #include <thread> |
| 11 | #include <vector> | ||
| 12 | 10 | ||
| 13 | #include <fmt/format.h> | 11 | #include <fmt/format.h> |
| 14 | 12 | ||
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 @@ | |||
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <filesystem> | ||
| 8 | #include "common/logging/filter.h" | 7 | #include "common/logging/filter.h" |
| 9 | 8 | ||
| 10 | namespace Common::Log { | 9 | 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 @@ | |||
| 7 | #include <array> | 7 | #include <array> |
| 8 | #include <chrono> | 8 | #include <chrono> |
| 9 | #include <cstddef> | 9 | #include <cstddef> |
| 10 | #include <string_view> | ||
| 11 | #include "common/logging/log.h" | 10 | #include "common/logging/log.h" |
| 12 | 11 | ||
| 13 | namespace Common::Log { | 12 | namespace Common::Log { |