From 91693e1dcec3df5b9f5134c0594bcdee1b6c44f1 Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Thu, 28 Mar 2024 14:39:37 +0100 Subject: [PATCH] Sort include dependency order in TRAPPING --- src/trapping/cfrfme.cpp | 8 ++++---- src/trapping/clffft.cpp | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/trapping/cfrfme.cpp b/src/trapping/cfrfme.cpp index 2cd6ab9f..a9e82e6c 100644 --- a/src/trapping/cfrfme.cpp +++ b/src/trapping/cfrfme.cpp @@ -18,14 +18,14 @@ #include "../include/Parsers.h" #endif -#ifndef INCLUDE_COMMONS_H_ -#include "../include/Commons.h" -#endif - #ifndef INCLUDE_CONFIGURATION_H_ #include "../include/Configuration.h" #endif +#ifndef INCLUDE_COMMONS_H_ +#include "../include/Commons.h" +#endif + #ifndef INCLUDE_SPH_SUBS_H_ #include "../include/sph_subs.h" #endif diff --git a/src/trapping/clffft.cpp b/src/trapping/clffft.cpp index a8033d80..6e794cf7 100644 --- a/src/trapping/clffft.cpp +++ b/src/trapping/clffft.cpp @@ -18,6 +18,10 @@ #include "../include/Parsers.h" #endif +#ifndef INCLUDE_CONFIGURATION_H_ +#include "../include/Configuration.h" +#endif + #ifndef INCLUDE_COMMONS_H_ #include "../include/Commons.h" #endif -- GitLab