mirror of https://github.com/AxioDL/metaforce.git
Connection: Remove <iostream> include
Avoids injecting a static constructor into translation units including this source file, even if nothing in the source file uses the iostream facilities. Instead, we can replace this with an ostream include. While we're at it, we can make sure we include everything necessary within the source file.
This commit is contained in:
parent
877ca7ad87
commit
6492117d60
|
@ -13,25 +13,29 @@
|
|||
#endif
|
||||
|
||||
#include <array>
|
||||
#include <atomic>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <cfloat>
|
||||
#include <string>
|
||||
#include <functional>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <atomic>
|
||||
#include <utility>
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
|
||||
#include "hecl/hecl.hpp"
|
||||
#include "hecl/Backend.hpp"
|
||||
#include "hecl/HMDLMeta.hpp"
|
||||
#include "hecl/TypedVariant.hpp"
|
||||
#include "hecl/Backend.hpp"
|
||||
#include "athena/Types.hpp"
|
||||
#include "athena/MemoryWriter.hpp"
|
||||
#include <optional>
|
||||
#include "Token.hpp"
|
||||
|
||||
#include <athena/Types.hpp>
|
||||
#include <fmt/ostream.h>
|
||||
#include <logvisor/logvisor.hpp>
|
||||
#include <xxhash/xxhash.h>
|
||||
|
||||
namespace hecl::blender {
|
||||
using namespace std::literals;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include <algorithm>
|
||||
#include <cerrno>
|
||||
#include <cfloat>
|
||||
#include <chrono>
|
||||
#include <cinttypes>
|
||||
#include <csignal>
|
||||
|
@ -15,9 +16,11 @@
|
|||
#include <hecl/hecl.hpp>
|
||||
#include <hecl/Database.hpp>
|
||||
#include "hecl/Blender/Connection.hpp"
|
||||
#include "hecl/Blender/Token.hpp"
|
||||
#include "hecl/SteamFinder.hpp"
|
||||
#include "MeshOptimizer.hpp"
|
||||
|
||||
#include <athena/MemoryWriter.hpp>
|
||||
#include <logvisor/logvisor.hpp>
|
||||
|
||||
#if _WIN32
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#include "hecl/Blender/Connection.hpp"
|
||||
#include <cmath>
|
||||
|
||||
#include <cfloat>
|
||||
#include <cmath>
|
||||
|
||||
#include <athena/MemoryWriter.hpp>
|
||||
|
||||
#undef min
|
||||
#undef max
|
||||
|
|
Loading…
Reference in New Issue