1
0
forked from 0ad/0ad

Removes unused containers included in headers.

This was SVN commit r25004.
This commit is contained in:
Vladislav Belov 2021-03-03 23:01:08 +00:00
parent c29423c723
commit 2e4639e6dc
17 changed files with 23 additions and 37 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2013 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@ -21,8 +21,6 @@
#include "graphics/Texture.h"
#include "lib/res/handle.h"
#include <map>
struct UnifontGlyphData;
/**

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2017 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@ -18,12 +18,12 @@
#ifndef INCLUDED_MAPWRITER
#define INCLUDED_MAPWRITER
#include <vector>
#include <list>
#include "MapIO.h"
#include "ps/CStr.h"
#include "ps/FileIo.h"
#include <vector>
class CLightEnv;
class CTerrain;

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2019 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@ -29,8 +29,6 @@
#include "ps/CLogger.h"
#include "ps/FileIo.h"
#include <unordered_map>
///////////////////////////////////////////////////////////////////////////////
// CSkeletonAnimManager constructor
CSkeletonAnimManager::CSkeletonAnimManager(CColladaManager& colladaManager)

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2019 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@ -24,8 +24,6 @@
#include "lib/file/vfs/vfs_path.h"
#include <map>
#include <set>
#include <unordered_map>
class CColladaManager;

View File

@ -18,8 +18,6 @@
#ifndef INCLUDED_TERRAINTEXTUREENTRY
#define INCLUDED_TERRAINTEXTUREENTRY
#include <map>
#include "TerrainTextureManager.h"
#include "TextureManager.h"
#include "Material.h"
@ -29,6 +27,8 @@
#include "maths/Matrix3D.h"
#include "ps/CStr.h"
#include <vector>
class XMBElement;
class CXeromyces;

View File

@ -33,7 +33,6 @@
#include "scriptinterface/ScriptInterface.h"
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <vector>

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2020 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@ -24,7 +24,6 @@
#include "ps/TemplateLoader.h"
#include "scriptinterface/ScriptInterface.h"
#include <set>
#include <string>
#include <unordered_set>

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2020 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@ -32,7 +32,6 @@
#include "scriptinterface/ScriptTypes.h"
#include <map>
#include <string>
#include <vector>
class CGUI;

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2019 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
@ -29,7 +29,6 @@
#include <cfloat>
#include <list>
#include <map>
#include <queue> // std::priority_queue
#include <unordered_map>

View File

@ -25,7 +25,6 @@
#include "ps/CStr.h"
#include <atomic>
#include <ctime>
#include <deque>
#include <thread>

View File

@ -23,7 +23,6 @@
#define INCLUDED_CCONSOLE
#include <deque>
#include <map>
#include <mutex>
#include <stdarg.h>
#include <string>

View File

@ -81,11 +81,10 @@
#include "lib/timer.h"
#include "ps/ThreadUtil.h"
#include <cstring>
#include <map>
#include <mutex>
#include <vector>
#include <string>
#include <thread>
#include <vector>
struct mg_context;

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2020 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@ -22,7 +22,6 @@
#include "ScriptExtraHeaders.h"
#include <list>
#include <sstream>
// Those are minimal defaults. The runtime for the main game is larger and GCs upon a larger growth.
constexpr int DEFAULT_CONTEXT_SIZE = 16 * 1024 * 1024;

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2020 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@ -23,8 +23,9 @@
#include "simulation2/system/CmpPtr.h"
#include "simulation2/system/Components.h"
#include <unordered_map>
#include <map>
#include <ostream>
#include <string>
#include <vector>
class CFrustum;
class CMessage;

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2019 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@ -26,7 +26,6 @@
#include "maths/FixedVector2D.h"
#include <map>
#include <vector>
class IObstructionTestFilter;
class PathGoal;

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2020 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@ -22,7 +22,6 @@
#include "ps/utf16string.h"
#include <map>
#include <vector>
class CStdDeserializer : public IDeserializer

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2017 Wildfire Games.
/* Copyright (C) 2021 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@ -23,8 +23,9 @@
#include "ps/CStrIntern.h"
#include "ps/Errors.h"
#include "scriptinterface/ScriptTypes.h"
#include <map>
#include <set>
#include <string>
class XMBFile;
class XMBElement;