1
0

Precompile unordered_map/set

+ Add inclusions to Globals.h
* Sort Globals.h
- Remove sys/stat.h from Globals.h
This commit is contained in:
Tiger Wang 2020-07-19 19:58:53 +01:00
parent f4fe137ab5
commit 3f712ca9cf
12 changed files with 18 additions and 31 deletions

View File

@ -1,7 +1,6 @@
#pragma once
#include <unordered_map>

View File

@ -1,6 +1,5 @@
#pragma once
#include <unordered_map>
#include <utility>
#include "BlockState.h"

View File

@ -2,7 +2,6 @@
#pragma once
#include "BlockHandler.h"
#include <unordered_set>
#include "Mixins.h"
#include "../Item.h"

View File

@ -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>

View File

@ -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"

View File

@ -9,7 +9,6 @@
#pragma once
#include <unordered_set>
#include "PiecePool.h"
#include "Prefab.h"

View File

@ -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>

View File

@ -3,8 +3,6 @@
#include "SettingsRepositoryInterface.h"
#include <unordered_map>
class cMemorySettingsRepository : public cSettingsRepositoryInterface
{
public:

View File

@ -15,7 +15,6 @@ class cPath;
#include "PathFinderIrrlicht_Head.h"
#endif
#include <unordered_map>
//fwd: ../Chunk.h
class cChunk;

View File

@ -7,6 +7,7 @@
#include "File.h"
#include <fstream>
#include <sys/stat.h>
#ifdef _WIN32
#include <share.h> // for _SH_DENYWRITE
#else

View File

@ -3,8 +3,6 @@
#include "SettingsRepositoryInterface.h"
#include <unordered_map>
class cOverridesSettingsRepository : public cSettingsRepositoryInterface
{

View File

@ -3,7 +3,6 @@
#include "RedstoneHandler.h"
#include "../RedstoneSimulator.h"
#include <unordered_map>