forked from 0ad/0ad
Cleanups includes for cassert and streams.
This was SVN commit r25002.
This commit is contained in:
parent
d4c2cf4430
commit
e104b41be2
@ -26,7 +26,7 @@
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/concept_check.hpp>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
#include "gui/GUIManager.h"
|
||||
|
@ -81,6 +81,7 @@ that of Atlas depending on commandline parameters.
|
||||
#include "soundmanager/ISoundManager.h"
|
||||
|
||||
#if OS_UNIX
|
||||
#include <iostream>
|
||||
#include <unistd.h> // geteuid
|
||||
#endif // OS_UNIX
|
||||
|
||||
@ -94,7 +95,6 @@ that of Atlas depending on commandline parameters.
|
||||
#endif
|
||||
|
||||
#include <chrono>
|
||||
#include <iostream>
|
||||
|
||||
extern CmdLineArgs g_args;
|
||||
extern CStrW g_UniqueLogPostfix;
|
||||
|
@ -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
|
||||
@ -22,7 +22,6 @@
|
||||
#include "graphics/FontMetrics.h"
|
||||
#include "graphics/ShaderManager.h"
|
||||
#include "graphics/TextRenderer.h"
|
||||
#include "lib/ogl.h"
|
||||
#include "lib/timer.h"
|
||||
#include "lib/utf8.h"
|
||||
#include "ps/CConsole.h"
|
||||
@ -31,6 +30,7 @@
|
||||
#include "renderer/Renderer.h"
|
||||
|
||||
#include <ctime>
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
#include <boost/algorithm/string/replace.hpp>
|
||||
|
@ -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
|
||||
@ -19,10 +19,8 @@
|
||||
#define INCLUDED_CLOGGER
|
||||
|
||||
#include <deque>
|
||||
#include <fstream>
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
#include <set>
|
||||
#include <sstream>
|
||||
|
||||
#include <fmt/printf.h>
|
||||
|
@ -23,7 +23,9 @@
|
||||
#include "ps/Filesystem.h"
|
||||
#include "ps/XML/Xeromyces.h"
|
||||
|
||||
#ifdef OS_WIN
|
||||
#include <fstream>
|
||||
#endif
|
||||
|
||||
CModInstaller::CModInstaller(const OsPath& modsdir, const OsPath& tempdir) :
|
||||
m_ModsDir(modsdir), m_TempDir(tempdir / "_modscache"), m_CacheDir("cache/")
|
||||
|
@ -30,8 +30,8 @@
|
||||
#include "ps/Profile.h"
|
||||
#include "ps/utf16string.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#define BOOST_MULTI_INDEX_DISABLE_SERIALIZATION
|
||||
#include <boost/preprocessor/punctuation/comma_if.hpp>
|
||||
|
@ -25,8 +25,7 @@
|
||||
#include "js/AllocPolicy.h"
|
||||
#include "js/GCHashTable.h"
|
||||
|
||||
#include <iostream>
|
||||
#include <map>
|
||||
#include <ostream>
|
||||
#include <streambuf>
|
||||
|
||||
/**
|
||||
|
@ -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
|
||||
@ -19,12 +19,8 @@
|
||||
#include "AtlasObjectImpl.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
|
||||
#include <memory>
|
||||
#include <fstream>
|
||||
|
||||
#include <libxml/parser.h>
|
||||
#include <string>
|
||||
|
||||
// TODO: replace most of the asserts below (e.g. for when it fails to load
|
||||
// a file) with some proper logging/reporting system
|
||||
|
Loading…
Reference in New Issue
Block a user