From 071a271b7f6f28e84ee55479ac765dbf1901556d Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Sat, 3 Oct 2020 10:17:14 +0200 Subject: [PATCH] removed iostream --- Stack/History/Event.hpp | 1 - Stack/History/HistoryObservationPlane.cpp | 3 +-- Stack/History/testHistoryStack.cc | 2 -- Stack/History/testHistoryView.cc | 2 -- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Stack/History/Event.hpp b/Stack/History/Event.hpp index de6131164..fb307e5e2 100644 --- a/Stack/History/Event.hpp +++ b/Stack/History/Event.hpp @@ -13,7 +13,6 @@ #include <corsika/stack/history/EventType.hpp> #include <corsika/stack/history/SecondaryParticle.hpp> -#include <iostream> #include <memory> #include <optional> #include <vector> diff --git a/Stack/History/HistoryObservationPlane.cpp b/Stack/History/HistoryObservationPlane.cpp index e8a8e06a9..6ad060960 100644 --- a/Stack/History/HistoryObservationPlane.cpp +++ b/Stack/History/HistoryObservationPlane.cpp @@ -12,7 +12,6 @@ #include <boost/histogram/ostream.hpp> #include <fstream> -#include <iostream> using namespace corsika::units::si; using namespace corsika::history; @@ -80,4 +79,4 @@ void HistoryObservationPlane::fillHistoryHistogram( histogram_(intCounter); } -void HistoryObservationPlane::print() { std::cout << histogram_ << std::endl; } +void HistoryObservationPlane::print() { C8LOG_INFO(histogram_); } diff --git a/Stack/History/testHistoryStack.cc b/Stack/History/testHistoryStack.cc index ed61b83b6..648ba224b 100644 --- a/Stack/History/testHistoryStack.cc +++ b/Stack/History/testHistoryStack.cc @@ -12,8 +12,6 @@ #include <catch2/catch.hpp> -#include <iostream> - using namespace corsika; using namespace corsika::stack; diff --git a/Stack/History/testHistoryView.cc b/Stack/History/testHistoryView.cc index 8d99e496c..1592254ed 100644 --- a/Stack/History/testHistoryView.cc +++ b/Stack/History/testHistoryView.cc @@ -18,8 +18,6 @@ #include <catch2/catch.hpp> -#include <iostream> - using namespace corsika; using namespace corsika::geometry; using namespace corsika::units::si; -- GitLab