From 128d1ed73cd65b20ce6fe9afaf1e7fdf5d2eee71 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Fri, 10 Apr 2020 23:06:10 +0200
Subject: [PATCH] Remove unnecessary include BaseLib/Error.h

No occurence of OGS_FATAL in that file.
---
 MaterialLib/Fluid/Density/LiquidDensity.h                        | 1 -
 MaterialLib/FractureModels/CohesiveZoneModeI.cpp                 | 1 -
 MaterialLib/PorousMedium/Permeability/DupuitPermeability.h       | 1 -
 MaterialLib/SolidModels/CreateCreepBGRa.cpp                      | 1 -
 MaterialLib/SolidModels/CreateNewtonRaphsonSolverParameters.cpp  | 1 -
 MaterialLib/SolidModels/CreepBGRa.cpp                            | 1 -
 NumLib/Fem/CoordinatesMapping/NaturalNodeCoordinates.h           | 1 -
 .../Algorithms/CreateIterationNumberBasedTimeStepping.cpp        | 1 -
 8 files changed, 8 deletions(-)

diff --git a/MaterialLib/Fluid/Density/LiquidDensity.h b/MaterialLib/Fluid/Density/LiquidDensity.h
index 32b58cbd68b..d8fb8eb6e76 100644
--- a/MaterialLib/Fluid/Density/LiquidDensity.h
+++ b/MaterialLib/Fluid/Density/LiquidDensity.h
@@ -15,7 +15,6 @@
 
 #include <vector>
 
-#include "BaseLib/Error.h"
 
 #include "BaseLib/ConfigTree.h"
 
diff --git a/MaterialLib/FractureModels/CohesiveZoneModeI.cpp b/MaterialLib/FractureModels/CohesiveZoneModeI.cpp
index 57eb517d9d2..fa926a20294 100644
--- a/MaterialLib/FractureModels/CohesiveZoneModeI.cpp
+++ b/MaterialLib/FractureModels/CohesiveZoneModeI.cpp
@@ -12,7 +12,6 @@
 #include "CohesiveZoneModeI.h"
 #include "LogPenalty.h"
 
-#include "BaseLib/Error.h"
 #include "MathLib/MathTools.h"
 
 namespace MaterialLib
diff --git a/MaterialLib/PorousMedium/Permeability/DupuitPermeability.h b/MaterialLib/PorousMedium/Permeability/DupuitPermeability.h
index aaff0b47851..869b9b4e37b 100644
--- a/MaterialLib/PorousMedium/Permeability/DupuitPermeability.h
+++ b/MaterialLib/PorousMedium/Permeability/DupuitPermeability.h
@@ -12,7 +12,6 @@
 
 #include <Eigen/Dense>
 
-#include "BaseLib/Error.h"
 #include "MaterialLib/PorousMedium/Permeability/Permeability.h"
 #include "ParameterLib/Parameter.h"
 
diff --git a/MaterialLib/SolidModels/CreateCreepBGRa.cpp b/MaterialLib/SolidModels/CreateCreepBGRa.cpp
index 3fbcee805a2..c7e9e1aa155 100644
--- a/MaterialLib/SolidModels/CreateCreepBGRa.cpp
+++ b/MaterialLib/SolidModels/CreateCreepBGRa.cpp
@@ -19,7 +19,6 @@
 #include "MechanicsBase.h"
 
 #include "BaseLib/ConfigTree.h"
-#include "BaseLib/Error.h"
 
 #include "ParameterLib/Parameter.h"
 #include "ParameterLib/Utils.h"
diff --git a/MaterialLib/SolidModels/CreateNewtonRaphsonSolverParameters.cpp b/MaterialLib/SolidModels/CreateNewtonRaphsonSolverParameters.cpp
index 55c9d0caacc..67aa433173b 100644
--- a/MaterialLib/SolidModels/CreateNewtonRaphsonSolverParameters.cpp
+++ b/MaterialLib/SolidModels/CreateNewtonRaphsonSolverParameters.cpp
@@ -12,7 +12,6 @@
 #include "CreateNewtonRaphsonSolverParameters.h"
 
 #include "BaseLib/ConfigTree.h"
-#include "BaseLib/Error.h"
 
 #include "NumLib/NewtonRaphson.h"
 
diff --git a/MaterialLib/SolidModels/CreepBGRa.cpp b/MaterialLib/SolidModels/CreepBGRa.cpp
index c70ac90ba75..5bae54ad4a3 100644
--- a/MaterialLib/SolidModels/CreepBGRa.cpp
+++ b/MaterialLib/SolidModels/CreepBGRa.cpp
@@ -13,7 +13,6 @@
 
 #include <limits>
 
-#include "BaseLib/Error.h"
 #include "MaterialLib/PhysicalConstant.h"
 
 namespace MaterialLib
diff --git a/NumLib/Fem/CoordinatesMapping/NaturalNodeCoordinates.h b/NumLib/Fem/CoordinatesMapping/NaturalNodeCoordinates.h
index 594278b4a78..6bbf058792f 100644
--- a/NumLib/Fem/CoordinatesMapping/NaturalNodeCoordinates.h
+++ b/NumLib/Fem/CoordinatesMapping/NaturalNodeCoordinates.h
@@ -10,7 +10,6 @@
 
 #include <cassert>
 
-#include "BaseLib/Error.h"
 #include "MathLib/Point3d.h"
 
 #include "MeshLib/ElementCoordinatesMappingLocal.h"
diff --git a/NumLib/TimeStepping/Algorithms/CreateIterationNumberBasedTimeStepping.cpp b/NumLib/TimeStepping/Algorithms/CreateIterationNumberBasedTimeStepping.cpp
index c57c891cecc..74209718666 100644
--- a/NumLib/TimeStepping/Algorithms/CreateIterationNumberBasedTimeStepping.cpp
+++ b/NumLib/TimeStepping/Algorithms/CreateIterationNumberBasedTimeStepping.cpp
@@ -13,7 +13,6 @@
 
 #include "BaseLib/Algorithm.h"
 #include "BaseLib/ConfigTree.h"
-#include "BaseLib/Error.h"
 #include "IterationNumberBasedTimeStepping.h"
 #include "TimeStepAlgorithm.h"
 
-- 
GitLab