diff options
| author | Martino Fontana <tinozzo123@gmail.com> | 2026-01-23 21:30:01 +0100 |
|---|---|---|
| committer | Martino Fontana <tinozzo123@gmail.com> | 2026-01-25 16:12:15 +0100 |
| commit | a14c88ba67a51b0a563a5fc800cd089e82ffacaf (patch) | |
| tree | 4263ea748b1b70960a1e28ae89cd26a361be4faf /Source/Core/VideoCommon/Assets | |
| parent | cdbea8867df3d0a6fc375e78726dae95612fb1fd (diff) | |
Remove unused imports
Yellow squiggly lines begone!
Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes.
If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed.
The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports.
Not everything is removed, but the cleanup should be substantial enough.
Because this done on Linux, code that isn't used on it is mostly untouched.
(Hopefully no open PR is depending on these imports...)
Diffstat (limited to 'Source/Core/VideoCommon/Assets')
4 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/VideoCommon/Assets/CustomAssetCache.cpp b/Source/Core/VideoCommon/Assets/CustomAssetCache.cpp index 606f28d5fe..3b15d5733e 100644 --- a/Source/Core/VideoCommon/Assets/CustomAssetCache.cpp +++ b/Source/Core/VideoCommon/Assets/CustomAssetCache.cpp @@ -9,8 +9,6 @@ #include "UICommon/UICommon.h" #include "VideoCommon/Assets/CustomAsset.h" -#include "VideoCommon/Assets/TextureAsset.h" -#include "VideoCommon/VideoEvents.h" namespace VideoCommon { diff --git a/Source/Core/VideoCommon/Assets/DirectFilesystemAssetLibrary.cpp b/Source/Core/VideoCommon/Assets/DirectFilesystemAssetLibrary.cpp index 1945ca0aa7..58b72ef110 100644 --- a/Source/Core/VideoCommon/Assets/DirectFilesystemAssetLibrary.cpp +++ b/Source/Core/VideoCommon/Assets/DirectFilesystemAssetLibrary.cpp @@ -3,7 +3,6 @@ #include "VideoCommon/Assets/DirectFilesystemAssetLibrary.h" -#include <algorithm> #include <vector> #include <fmt/std.h> diff --git a/Source/Core/VideoCommon/Assets/MaterialAsset.h b/Source/Core/VideoCommon/Assets/MaterialAsset.h index 0ba786087a..4be99169d0 100644 --- a/Source/Core/VideoCommon/Assets/MaterialAsset.h +++ b/Source/Core/VideoCommon/Assets/MaterialAsset.h @@ -5,7 +5,6 @@ #include <array> #include <optional> -#include <string> #include <variant> #include <vector> diff --git a/Source/Core/VideoCommon/Assets/MeshAsset.cpp b/Source/Core/VideoCommon/Assets/MeshAsset.cpp index bde8c8aab6..133184aa33 100644 --- a/Source/Core/VideoCommon/Assets/MeshAsset.cpp +++ b/Source/Core/VideoCommon/Assets/MeshAsset.cpp @@ -3,7 +3,6 @@ #include "VideoCommon/Assets/MeshAsset.h" -#include <algorithm> #include <array> #include <utility> @@ -11,7 +10,6 @@ #include "Common/IOFile.h" #include "Common/Logging/Log.h" -#include "Common/StringUtil.h" #include "VideoCommon/Assets/CustomAssetLibrary.h" namespace VideoCommon |
