mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-28 14:37:29 +01:00
include what you use in betterRenderer
Its sources reached the standard library through the project headers they included; those are imports now. 178 headers across 56 files, plus 18 C library headers elsewhere for memcpy/printf and friends. MSVC's STL does not supply these transitively the way libstdc++ does.
This commit is contained in:
@@ -4,6 +4,12 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "utils.hpp"
|
||||
#include <cstdint>
|
||||
#include <filesystem>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
int MaShaderCompiler::Run() {
|
||||
ParseOptions();
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
#include <dxcapi.h>
|
||||
#include <string>
|
||||
#include <tuple>
|
||||
#include <vector>
|
||||
|
||||
template <typename T>
|
||||
using RefCountPtr = nvrhi::RefCountPtr<T>;
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include <yaml-cpp/yaml.h>
|
||||
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
|
||||
inline std::wstring ToWide(const std::string& str) {
|
||||
std::wstring wstr{};
|
||||
|
||||
Reference in New Issue
Block a user