From 641d81de7e0765a820ce0580570dfa7ce2e45726 Mon Sep 17 00:00:00 2001
From: Remy Prechelt <prechelt@hawaii.edu>
Date: Tue, 18 May 2021 12:26:26 -1000
Subject: [PATCH] Remove Setup from StackInspector.

---
 corsika/detail/modules/StackInspector.inl | 2 --
 tests/framework/testCascade.cpp           | 1 +
 tests/modules/testStackInspector.cpp      | 1 +
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/corsika/detail/modules/StackInspector.inl b/corsika/detail/modules/StackInspector.inl
index 2d9c8238a..e339b2e89 100644
--- a/corsika/detail/modules/StackInspector.inl
+++ b/corsika/detail/modules/StackInspector.inl
@@ -14,8 +14,6 @@
 #include <corsika/framework/core/PhysicalUnits.hpp>
 #include <corsika/framework/geometry/RootCoordinateSystem.hpp>
 
-#include <corsika/setup/SetupTrajectory.hpp>
-
 #include <chrono>
 #include <iomanip>
 #include <iostream>
diff --git a/tests/framework/testCascade.cpp b/tests/framework/testCascade.cpp
index 1d5cb6be2..df55ee318 100644
--- a/tests/framework/testCascade.cpp
+++ b/tests/framework/testCascade.cpp
@@ -27,6 +27,7 @@
 #include <corsika/output/DummyOutputManager.hpp>
 
 #include <SetupTestTrajectory.hpp>
+#include <corsika/setup/SetupTrajectory.hpp>
 
 #include <catch2/catch.hpp>
 
diff --git a/tests/modules/testStackInspector.cpp b/tests/modules/testStackInspector.cpp
index 9905583ed..f4675a09c 100644
--- a/tests/modules/testStackInspector.cpp
+++ b/tests/modules/testStackInspector.cpp
@@ -16,6 +16,7 @@
 #include <corsika/framework/geometry/PhysicalGeometry.hpp>
 
 #include <corsika/framework/core/PhysicalUnits.hpp>
+#include <corsika/setup/SetupTrajectory.hpp>
 
 #include <../framework/testCascade.hpp> //! \todo fix this
 
-- 
GitLab