mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 09:00:17 +02:00
Config: Remove unused Context.h include
Removes quite a heavy include from the config system and specifies any indirect inclusion that were relied on because of it.
This commit is contained in:
1 parent
2cfd3330f0
commit
f69821d7db
5 files changed
+22
-3
No files matched your search
@@ -1,7 +1,6 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
#pragma once
|
||||
|
||||
#include <FEXCore/Core/Context.h>
|
||||
#include <FEXCore/Utils/CompilerDefs.h>
|
||||
#include <FEXCore/Utils/EnumOperators.h>
|
||||
#include <FEXCore/Utils/EnumUtils.h>
|
||||
@@ -12,9 +11,12 @@
|
||||
#include <FEXCore/fextl/string.h>
|
||||
#include <FEXCore/fextl/unordered_map.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <charconv>
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
#include <stdint.h>
|
||||
#include <type_traits>
|
||||
#include <variant>
|
||||
|
||||
namespace FEXCore::Config {
|
||||
|
||||
@@ -6,6 +6,9 @@
|
||||
#include <Common/FileFormatCheck.h>
|
||||
#include <FEXCore/fextl/memory.h>
|
||||
#include <FEXCore/fextl/map.h>
|
||||
#include <FEXCore/fextl/string.h>
|
||||
#include <FEXCore/fextl/unordered_map.h>
|
||||
#include <FEXCore/fextl/vector.h>
|
||||
#include <FEXCore/Config/Config.h>
|
||||
#include <FEXHeaderUtils/Filesystem.h>
|
||||
|
||||
@@ -17,6 +20,13 @@
|
||||
#include <sys/inotify.h>
|
||||
#include <poll.h>
|
||||
|
||||
#include <charconv>
|
||||
#include <cstdlib>
|
||||
#include <filesystem>
|
||||
#include <stdexcept>
|
||||
#include <thread>
|
||||
#include <utility>
|
||||
|
||||
namespace fextl {
|
||||
// Helper to convert a std::filesystem::path to a fextl::string.
|
||||
inline fextl::string string_from_path(const std::filesystem::path& Path) {
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
#include <FEXCore/fextl/string.h>
|
||||
#include <FEXHeaderUtils/Filesystem.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstdio>
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
#include <sys/prctl.h>
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
#include <FEXCore/fextl/fmt.h>
|
||||
#include <FEXCore/fextl/string.h>
|
||||
#include <FEXCore/fextl/vector.h>
|
||||
|
||||
#include "Common/cpp-optparse/OptionParser.h"
|
||||
#include "Common/JSONPool.h"
|
||||
@@ -9,11 +10,14 @@
|
||||
#include "Common/ArgumentLoader.h"
|
||||
#include "Common/Config.h"
|
||||
|
||||
#include <array>
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <unistd.h>
|
||||
#include <optional>
|
||||
#include <span>
|
||||
#include <sstream>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/syscall.h>
|
||||
|
||||
@@ -12,11 +12,13 @@
|
||||
#include <fmt/color.h>
|
||||
|
||||
#include <chrono>
|
||||
#include <ctime>
|
||||
#include <dirent.h>
|
||||
#include <fcntl.h>
|
||||
#include <filesystem>
|
||||
#include <iterator>
|
||||
#include <mutex>
|
||||
#include <optional>
|
||||
#include <poll.h>
|
||||
#include <sys/prctl.h>
|
||||
#include <sys/signal.h>
|
||||
|
||||
Reference in new issue
Block a user