Precompile unordered_map/set
+ Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h
This commit is contained in:
parent
f4fe137ab5
commit
3f712ca9cf
@ -1,7 +1,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
#include "BlockState.h"
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "BlockHandler.h"
|
||||
#include <unordered_set>
|
||||
#include "Mixins.h"
|
||||
#include "../Item.h"
|
||||
|
||||
|
@ -28,9 +28,6 @@ Note that it may be called by world's BroadcastToChunk() if the client is still
|
||||
#include "OSSupport/IsThread.h"
|
||||
#include "ChunkDataCallback.h"
|
||||
|
||||
#include <unordered_set>
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -1,8 +1,6 @@
|
||||
|
||||
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
#include "Player.h"
|
||||
#include "../Mobs/Wolf.h"
|
||||
#include "../Mobs/Horse.h"
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <unordered_set>
|
||||
#include "PiecePool.h"
|
||||
#include "Prefab.h"
|
||||
|
||||
|
@ -157,7 +157,6 @@ template class SizeChecker<UInt8, 1>;
|
||||
|
||||
|
||||
// CRT stuff:
|
||||
#include <sys/stat.h>
|
||||
#include <cassert>
|
||||
#include <cstdio>
|
||||
#include <cmath>
|
||||
@ -168,24 +167,26 @@ template class SizeChecker<UInt8, 1>;
|
||||
|
||||
|
||||
// STL stuff:
|
||||
#include <array>
|
||||
#include <chrono>
|
||||
#include <vector>
|
||||
#include <list>
|
||||
#include <deque>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <set>
|
||||
#include <queue>
|
||||
#include <limits>
|
||||
#include <random>
|
||||
#include <type_traits>
|
||||
#include <array>
|
||||
#include <atomic>
|
||||
#include <mutex>
|
||||
#include <thread>
|
||||
#include <chrono>
|
||||
#include <condition_variable>
|
||||
#include <deque>
|
||||
#include <limits>
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <queue>
|
||||
#include <random>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <type_traits>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
|
||||
|
||||
|
@ -3,8 +3,6 @@
|
||||
|
||||
#include "SettingsRepositoryInterface.h"
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
class cMemorySettingsRepository : public cSettingsRepositoryInterface
|
||||
{
|
||||
public:
|
||||
|
@ -15,7 +15,6 @@ class cPath;
|
||||
#include "PathFinderIrrlicht_Head.h"
|
||||
#endif
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
//fwd: ../Chunk.h
|
||||
class cChunk;
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
#include "File.h"
|
||||
#include <fstream>
|
||||
#include <sys/stat.h>
|
||||
#ifdef _WIN32
|
||||
#include <share.h> // for _SH_DENYWRITE
|
||||
#else
|
||||
|
@ -3,8 +3,6 @@
|
||||
|
||||
#include "SettingsRepositoryInterface.h"
|
||||
|
||||
#include <unordered_map>
|
||||
|
||||
class cOverridesSettingsRepository : public cSettingsRepositoryInterface
|
||||
{
|
||||
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#include "RedstoneHandler.h"
|
||||
#include "../RedstoneSimulator.h"
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user