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