Commit ea90db4e authored by Jan Möbius's avatar Jan Möbius

Reduced number of includes to speedup compilation

parent 8e255356
From a0b1652086e719635c0f8522444cd84409fd3a95 Mon Sep 17 00:00:00 2001
From: Martin <martin.schultz@rwth-aachen.de>
Date: Mon, 30 Nov 2015 09:22:43 +0100
Subject: [PATCH] Reduced includes by means of static code analysis
---
src/OpenVolumeMesh/Attribs/OpenVolumeMeshStatus.cc | 1 -
src/OpenVolumeMesh/Attribs/StatusAttrib.cc | 5 -----
src/OpenVolumeMesh/Core/BaseEntities.cc | 1 -
src/OpenVolumeMesh/Core/Iterators.cc | 1 -
src/OpenVolumeMesh/Core/OpenVolumeMeshHandle.cc | 1 -
src/OpenVolumeMesh/Core/ResourceManager.cc | 1 -
src/OpenVolumeMesh/Core/TopologyKernel.cc | 1 -
src/OpenVolumeMesh/FileManager/FileManager.cc | 1 -
src/OpenVolumeMesh/Mesh/HexahedralMeshIterators.cc | 1 -
9 files changed, 13 deletions(-)
diff --git a/src/OpenVolumeMesh/Attribs/OpenVolumeMeshStatus.cc b/src/OpenVolumeMesh/Attribs/OpenVolumeMeshStatus.cc
index bdc0c72..7dc522c 100644
--- a/src/OpenVolumeMesh/Attribs/OpenVolumeMeshStatus.cc
+++ b/src/OpenVolumeMesh/Attribs/OpenVolumeMeshStatus.cc
@@ -41,7 +41,6 @@
\*===========================================================================*/
#include <istream>
-#include <ostream>
#include "OpenVolumeMeshStatus.hh"
diff --git a/src/OpenVolumeMesh/Attribs/StatusAttrib.cc b/src/OpenVolumeMesh/Attribs/StatusAttrib.cc
index 95c7709..82b4b9b 100644
--- a/src/OpenVolumeMesh/Attribs/StatusAttrib.cc
+++ b/src/OpenVolumeMesh/Attribs/StatusAttrib.cc
@@ -46,11 +46,6 @@
#include "StatusAttrib.hh"
-#include "../Core/TopologyKernel.hh"
-#include "../Core/PropertyDefines.hh"
-
-#include <map>
-
namespace OpenVolumeMesh {
StatusAttrib::StatusAttrib(TopologyKernel& _kernel) :
diff --git a/src/OpenVolumeMesh/Core/BaseEntities.cc b/src/OpenVolumeMesh/Core/BaseEntities.cc
index 95a1c5a..549cefe 100644
--- a/src/OpenVolumeMesh/Core/BaseEntities.cc
+++ b/src/OpenVolumeMesh/Core/BaseEntities.cc
@@ -41,7 +41,6 @@
\*===========================================================================*/
#include <istream>
-#include <ostream>
#include "BaseEntities.hh"
diff --git a/src/OpenVolumeMesh/Core/Iterators.cc b/src/OpenVolumeMesh/Core/Iterators.cc
index 1192c03..35bd508 100644
--- a/src/OpenVolumeMesh/Core/Iterators.cc
+++ b/src/OpenVolumeMesh/Core/Iterators.cc
@@ -48,7 +48,6 @@
#include "Iterators.hh"
#include "TopologyKernel.hh"
-#include "OpenVolumeMeshHandle.hh"
namespace OpenVolumeMesh {
diff --git a/src/OpenVolumeMesh/Core/OpenVolumeMeshHandle.cc b/src/OpenVolumeMesh/Core/OpenVolumeMeshHandle.cc
index 3a83409..5e2eadc 100644
--- a/src/OpenVolumeMesh/Core/OpenVolumeMeshHandle.cc
+++ b/src/OpenVolumeMesh/Core/OpenVolumeMeshHandle.cc
@@ -41,7 +41,6 @@
\*===========================================================================*/
#include <istream>
-#include <ostream>
#include "OpenVolumeMeshHandle.hh"
diff --git a/src/OpenVolumeMesh/Core/ResourceManager.cc b/src/OpenVolumeMesh/Core/ResourceManager.cc
index 03c956f..d40e3cf 100644
--- a/src/OpenVolumeMesh/Core/ResourceManager.cc
+++ b/src/OpenVolumeMesh/Core/ResourceManager.cc
@@ -41,7 +41,6 @@
\*===========================================================================*/
#include "ResourceManager.hh"
-#include "BaseProperty.hh"
namespace OpenVolumeMesh {
diff --git a/src/OpenVolumeMesh/Core/TopologyKernel.cc b/src/OpenVolumeMesh/Core/TopologyKernel.cc
index 31c7c1d..9197ac4 100644
--- a/src/OpenVolumeMesh/Core/TopologyKernel.cc
+++ b/src/OpenVolumeMesh/Core/TopologyKernel.cc
@@ -47,7 +47,6 @@
#include <queue>
#include "TopologyKernel.hh"
-#include "../System/FunctionalInclude.hh"
namespace OpenVolumeMesh {
diff --git a/src/OpenVolumeMesh/FileManager/FileManager.cc b/src/OpenVolumeMesh/FileManager/FileManager.cc
index bab3927..ede3895 100644
--- a/src/OpenVolumeMesh/FileManager/FileManager.cc
+++ b/src/OpenVolumeMesh/FileManager/FileManager.cc
@@ -46,7 +46,6 @@
#include <iostream>
#include <sstream>
#include <algorithm>
-#include <cctype>
#include <typeinfo>
#include <OpenVolumeMesh/Geometry/VectorT.hh>
diff --git a/src/OpenVolumeMesh/Mesh/HexahedralMeshIterators.cc b/src/OpenVolumeMesh/Mesh/HexahedralMeshIterators.cc
index b607bb6..74e2e25 100644
--- a/src/OpenVolumeMesh/Mesh/HexahedralMeshIterators.cc
+++ b/src/OpenVolumeMesh/Mesh/HexahedralMeshIterators.cc
@@ -44,7 +44,6 @@
#include "HexahedralMeshIterators.hh"
#include "HexahedralMeshTopologyKernel.hh"
-#include "../Core/Iterators.hh"
namespace OpenVolumeMesh {
--
2.6.2
......@@ -41,7 +41,6 @@
\*===========================================================================*/
#include <istream>
#include <ostream>
#include "OpenVolumeMeshStatus.hh"
......
......@@ -46,11 +46,6 @@
#include "StatusAttrib.hh"
#include "../Core/TopologyKernel.hh"
#include "../Core/PropertyDefines.hh"
#include <map>
namespace OpenVolumeMesh {
StatusAttrib::StatusAttrib(TopologyKernel& _kernel) :
......
......@@ -41,7 +41,6 @@
\*===========================================================================*/
#include <istream>
#include <ostream>
#include "BaseEntities.hh"
......
......@@ -48,7 +48,6 @@
#include "Iterators.hh"
#include "TopologyKernel.hh"
#include "OpenVolumeMeshHandle.hh"
namespace OpenVolumeMesh {
......
......@@ -41,7 +41,6 @@
\*===========================================================================*/
#include <istream>
#include <ostream>
#include "OpenVolumeMeshHandle.hh"
......
......@@ -41,7 +41,6 @@
\*===========================================================================*/
#include "ResourceManager.hh"
#include "BaseProperty.hh"
namespace OpenVolumeMesh {
......
......@@ -47,7 +47,6 @@
#include <queue>
#include "TopologyKernel.hh"
#include "../System/FunctionalInclude.hh"
namespace OpenVolumeMesh {
......
......@@ -46,7 +46,6 @@
#include <iostream>
#include <sstream>
#include <algorithm>
#include <cctype>
#include <typeinfo>
#include <OpenVolumeMesh/Geometry/VectorT.hh>
......
......@@ -44,7 +44,6 @@
#include "HexahedralMeshIterators.hh"
#include "HexahedralMeshTopologyKernel.hh"
#include "../Core/Iterators.hh"
namespace OpenVolumeMesh {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment