Minor header cleanup

This has been done via CLion's "unused include directive",
set to "detect completely unused".
simplify_debugging
jvoisin 2 years ago
parent a5acc22954
commit c7a3f43915

@ -33,7 +33,6 @@
#include <limits>
#include <map>
#include <memory>
#include <osg/ref_ptr>
#include <ostream>
#include <string>
#include <string_view>

@ -25,7 +25,6 @@
#include <apps/opencs/model/world/refcollection.hpp>
#include <apps/opencs/model/world/refidcollection.hpp>
#include <apps/opencs/model/world/refiddata.hpp>
#include <apps/opencs/model/world/subcellcollection.hpp>
#include <apps/opencs/model/world/universalid.hpp>
#include <components/esm/esmcommon.hpp>
@ -39,7 +38,6 @@
#include <components/misc/strings/lower.hpp>
#include "../world/cellcoordinates.hpp"
#include "../world/infocollection.hpp"
#include "document.hpp"

@ -4,7 +4,6 @@
#include <stdexcept>
#include <utility>
#include "../world/columns.hpp"
#include "../world/idtablebase.hpp"
CSMFilter::ValueNode::ValueNode(int columnId, Type lowerType, Type upperType, double lower, double upper)

@ -7,11 +7,6 @@
#include <vector>
#include "../doc/document.hpp"
#include "../doc/operation.hpp"
#include "../doc/state.hpp"
#include "../world/data.hpp"
#include "../world/universalid.hpp"
#include "birthsigncheck.hpp"
#include "bodypartcheck.hpp"

@ -23,10 +23,6 @@
#include "../../model/doc/document.hpp"
#include "../../model/doc/documentmanager.hpp"
#include "../../model/doc/state.hpp"
#include "../../model/world/columns.hpp"
#include "../../model/world/idcompletionmanager.hpp"
#include "../../model/prefs/state.hpp"
@ -35,7 +31,6 @@
#include "../world/idcompletiondelegate.hpp"
#include "../world/idtypedelegate.hpp"
#include "../world/recordstatusdelegate.hpp"
#include "../world/util.hpp"
#include "../world/vartypedelegate.hpp"
#include "view.hpp"

@ -6,8 +6,6 @@
#include <apps/opencs/view/render/object.hpp>
#include <apps/opencs/view/render/scenewidget.hpp>
#include <osg/ref_ptr>
#include "../../model/world/data.hpp"
#include "../../model/world/idtable.hpp"

@ -9,7 +9,6 @@
#include <QTimer>
#include <QWidget>
#include <osg/Timer>
#include <osg/Vec4f>
#include <osg/ref_ptr>

@ -13,7 +13,6 @@
#include <osg/Camera>
#include <osg/Vec3f>
#include <osg/ref_ptr>
#include <apps/opencs/model/doc/document.hpp>
#include <apps/opencs/model/prefs/category.hpp>

@ -14,7 +14,6 @@
#include <osg/Vec2f>
#include <osg/Vec3d>
#include <osg/ref_ptr>
#include <apps/opencs/model/prefs/category.hpp>
#include <apps/opencs/model/prefs/setting.hpp>
@ -41,7 +40,6 @@
#include "../../model/world/landtexture.hpp"
#include "../../model/world/tablemimedata.hpp"
#include "../../model/world/universalid.hpp"
#include "../widget/brushshapes.hpp"
#include "brushdraw.hpp"
#include "editmode.hpp"

@ -28,7 +28,6 @@
#include "../widget/scenetooltoggle2.hpp"
#include "cameracontroller.hpp"
#include "mask.hpp"
namespace CSVRender
{

@ -50,7 +50,6 @@
#include "cameracontroller.hpp"
#include "instancemode.hpp"
#include "mask.hpp"
#include "object.hpp"
#include "pathgridmode.hpp"

@ -12,8 +12,6 @@
#include <components/misc/rng.hpp>
#include <osg/Timer>
#include "../mwworld/doorstate.hpp"
#include "../mwworld/globalvariablename.hpp"
#include "../mwworld/ptr.hpp"

@ -1,5 +1,7 @@
#include "stat.hpp"
#include <algorithm>
#include <components/esm3/statstate.hpp>
namespace MWMechanics

@ -1,9 +1,6 @@
#ifndef GAME_MWMECHANICS_STAT_H
#define GAME_MWMECHANICS_STAT_H
#include <algorithm>
#include <limits>
namespace ESM
{
template <typename T>

@ -1,6 +1,7 @@
#ifndef GAME_MWWORLD_WORLDIMP_H
#define GAME_MWWORLD_WORLDIMP_H
#include <osg/Timer>
#include <osg/ref_ptr>
#include <components/detournavigator/collisionshapetype.hpp>

@ -28,7 +28,6 @@
#define ESM4_LIGHTING_H
#include <cstdint>
#include <limits>
namespace ESM4
{

@ -30,8 +30,6 @@
#include <cstdint>
#include <vector>
#include "common.hpp" // GroupLabel
namespace ESM4
{
// http://www.uesp.net/wiki/Tes4Mod:Mod_File_Format#Hierarchical_Top_Groups

@ -1,8 +1,6 @@
#ifndef OPENMW_COMPONENTS_MISC_THREAD_H
#define OPENMW_COMPONENTS_MISC_THREAD_H
#include <thread>
namespace Misc
{
void setCurrentThreadIdlePriority();

@ -1,13 +1,12 @@
#include "platform.hpp"
#include <stdio.h>
namespace Platform
{
static void increaseFileHandleLimit()
{
#ifdef WIN32
#include <stdio.h>
// Increase limit for open files at the stream I/O level, see
// https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/setmaxstdio?view=msvc-170#remarks
_setmaxstdio(8192);

@ -1,8 +1,6 @@
#ifndef OPENMW_COMPONENTS_RESOURCE_NIFFILEMANAGER_H
#define OPENMW_COMPONENTS_RESOURCE_NIFFILEMANAGER_H
#include <osg/ref_ptr>
#include <components/nif/niffile.hpp>
#include "resourcemanager.hpp"

@ -1,8 +1,5 @@
#ifndef COMPONENTS_SCENEUTIL_LIGHTCOMMON
#define COMPONENTS_SCENEUTIL_LIGHTCOMMON
#include <string_view>
#include <variant>
#include <osg/Vec4>

@ -1,8 +1,6 @@
#ifndef OPENMW_COMPONENTS_SDLUTIL_SDLINPUTWRAPPER_H
#define OPENMW_COMPONENTS_SDLUTIL_SDLINPUTWRAPPER_H
#include <map>
#include <osg/ref_ptr>
#include <SDL_events.h>

@ -1,8 +1,6 @@
#ifndef OPENMW_COMPONENTS_SQLITE3_TYPES_H
#define OPENMW_COMPONENTS_SQLITE3_TYPES_H
#include <cstddef>
namespace Sqlite3
{
struct ConstBlob

@ -2,7 +2,6 @@
#define COMPONENTS_TERRAIN_HEIGHTCULL_H
#include <osg/Referenced>
#include <osg/ref_ptr>
#include <limits>

Loading…
Cancel
Save