From 40dae8dbcbc9aa9092118e99912636b113bf3959 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Fri, 10 Oct 2014 10:23:19 +0200 Subject: [PATCH] [ML] Include declaration headers first. --- MeshLib/Elements/Cell.cpp | 4 ++-- MeshLib/Elements/Element.cpp | 3 ++- MeshLib/Elements/Face.cpp | 3 ++- MeshLib/Mesh.cpp | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/MeshLib/Elements/Cell.cpp b/MeshLib/Elements/Cell.cpp index 1c7b5689998..e9a549e94d0 100644 --- a/MeshLib/Elements/Cell.cpp +++ b/MeshLib/Elements/Cell.cpp @@ -12,11 +12,11 @@ * */ +#include "Cell.h" + #include "MathLib/Vector3.h" #include "MeshLib/Node.h" -#include "Cell.h" - namespace MeshLib { const unsigned Cell::dimension = 3u; diff --git a/MeshLib/Elements/Element.cpp b/MeshLib/Elements/Element.cpp index 7352e8fff11..e4e99e0268a 100644 --- a/MeshLib/Elements/Element.cpp +++ b/MeshLib/Elements/Element.cpp @@ -12,12 +12,13 @@ * */ +#include "Element.h" + #include "logog/include/logog.hpp" #include "MathLib/MathTools.h" #include "MeshLib/Node.h" -#include "Element.h" #include "Line.h" namespace MeshLib { diff --git a/MeshLib/Elements/Face.cpp b/MeshLib/Elements/Face.cpp index 4dbf914ee01..f741b6e4baa 100644 --- a/MeshLib/Elements/Face.cpp +++ b/MeshLib/Elements/Face.cpp @@ -12,10 +12,11 @@ * */ +#include "Face.h" + #include "MathLib/MathTools.h" #include "MathLib/Vector3.h" -#include "Face.h" #include "Line.h" namespace MeshLib { diff --git a/MeshLib/Mesh.cpp b/MeshLib/Mesh.cpp index 0d1ba4a9889..ac6cc90d1b6 100644 --- a/MeshLib/Mesh.cpp +++ b/MeshLib/Mesh.cpp @@ -12,14 +12,14 @@ * */ +#include "Mesh.h" + #include <boost/optional.hpp> #include "logog/include/logog.hpp" #include "BaseLib/RunTime.h" -#include "Mesh.h" - #include "Elements/Tri.h" #include "Elements/Quad.h" #include "Elements/Tet.h" -- GitLab