From f4aa5846f828600c01ee0732130be09c8dd81929 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <dmitri.naumov@ufz.de>
Date: Fri, 23 Jun 2017 15:07:05 +0200
Subject: [PATCH] Remove unnecessary iostream includes, remove some.

For others use more specialized includes like fstream.
---
 Applications/FileIO/CsvInterface.cpp                           | 3 +--
 Applications/FileIO/SWMM/SWMMInterface.cpp                     | 2 +-
 BaseLib/LogogCustomCout.h                                      | 2 +-
 .../TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.h      | 1 -
 .../TwoPhaseFlowWithPrhoMaterialProperties.h                   | 1 -
 5 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/Applications/FileIO/CsvInterface.cpp b/Applications/FileIO/CsvInterface.cpp
index adb2ffe8751..4330651f94b 100644
--- a/Applications/FileIO/CsvInterface.cpp
+++ b/Applications/FileIO/CsvInterface.cpp
@@ -14,9 +14,8 @@
 #include "CsvInterface.h"
 
 #include <algorithm>
-#include <iostream>
+#include <fstream>
 #include <numeric>
-#include <stdexcept>
 
 #include "GeoLib/Point.h"
 
diff --git a/Applications/FileIO/SWMM/SWMMInterface.cpp b/Applications/FileIO/SWMM/SWMMInterface.cpp
index 8826f009d2c..cf049b5a159 100644
--- a/Applications/FileIO/SWMM/SWMMInterface.cpp
+++ b/Applications/FileIO/SWMM/SWMMInterface.cpp
@@ -9,7 +9,7 @@
 #include "SwmmInterface.h"
 
 #include <cctype>
-#include <iostream>
+#include <fstream>
 #include <utility>
 
 #include "BaseLib/FileTools.h"
diff --git a/BaseLib/LogogCustomCout.h b/BaseLib/LogogCustomCout.h
index 37c65a54270..750a4e2513d 100644
--- a/BaseLib/LogogCustomCout.h
+++ b/BaseLib/LogogCustomCout.h
@@ -9,7 +9,7 @@
 
 #pragma once
 
-#include <iostream>
+#include <ostream>
 
 #include <logog/include/logog.hpp>
 
diff --git a/MaterialLib/TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.h b/MaterialLib/TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.h
index 3f778b2cb9f..a88b56bde92 100644
--- a/MaterialLib/TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.h
+++ b/MaterialLib/TwoPhaseModels/TwoPhaseFlowWithPPMaterialProperties.h
@@ -9,7 +9,6 @@
 
 #pragma once
 
-#include <iostream>
 #include <memory>
 #include <vector>
 
diff --git a/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.h b/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.h
index fd232b493a9..5566d363867 100644
--- a/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.h
+++ b/ProcessLib/TwoPhaseFlowWithPrho/TwoPhaseFlowWithPrhoMaterialProperties.h
@@ -9,7 +9,6 @@
 
 #pragma once
 
-#include <iostream>
 #include <memory>
 #include <vector>
 #include "MaterialLib/Fluid/FluidPropertyHeaders.h"
-- 
GitLab