From c4fbd4c40c5be3a8c95671f8cca1f1a766fb9215 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Sun, 29 May 2016 20:07:06 +0000
Subject: [PATCH] Remove #include <iostream>; Comment for dbg tests.

---
 Applications/DataExplorer/Base/CheckboxDelegate.cpp        | 2 --
 Applications/DataExplorer/Base/QValueTooltipSlider.cpp     | 2 --
 Applications/DataExplorer/DataView/GeoTreeView.cpp         | 1 -
 Applications/DataExplorer/DataView/StationTreeView.cpp     | 1 -
 Applications/DataExplorer/VtkVis/VtkRaster.cpp             | 1 -
 Applications/Utils/FileConverter/ConvertSHPToGLI.cpp       | 1 -
 Applications/Utils/FileConverter/ConvertVtkToOsg.cpp       | 2 --
 AssemblerLib/ComponentGlobalIndexDict.h                    | 1 -
 BaseLib/DateTools.cpp                                      | 1 -
 BaseLib/MemWatch.cpp                                       | 1 -
 GeoLib/LineSegment.cpp                                     | 2 --
 MathLib/LinAlg/Dense/DenseMatrix.h                         | 1 -
 MeshLib/MeshQuality/ElementQualityMetric.cpp               | 1 -
 Tests/AssemblerLib/LocalToGlobalIndexMapMultiComponent.cpp | 2 --
 Tests/GeoLib/TestAABB.cpp                                  | 1 -
 Tests/MathLib/TestEigenCSR.cpp                             | 2 --
 Tests/MeshLib/TestQuadMesh.cpp                             | 1 -
 Tests/MeshLib/TestTriLineMesh.cpp                          | 1 -
 Tests/NumLib/ODEs.h                                        | 2 +-
 19 files changed, 1 insertion(+), 25 deletions(-)

diff --git a/Applications/DataExplorer/Base/CheckboxDelegate.cpp b/Applications/DataExplorer/Base/CheckboxDelegate.cpp
index dd2c9988aeb..696c722b918 100644
--- a/Applications/DataExplorer/Base/CheckboxDelegate.cpp
+++ b/Applications/DataExplorer/Base/CheckboxDelegate.cpp
@@ -21,8 +21,6 @@
 #include <QPainter>
 #include <QStyleOptionButton>
 
-#include <iostream>
-
 CheckboxDelegate::CheckboxDelegate(QObject* parent)
     : QItemDelegate(parent)
 {
diff --git a/Applications/DataExplorer/Base/QValueTooltipSlider.cpp b/Applications/DataExplorer/Base/QValueTooltipSlider.cpp
index 78d4e19d133..a63b2d26f14 100644
--- a/Applications/DataExplorer/Base/QValueTooltipSlider.cpp
+++ b/Applications/DataExplorer/Base/QValueTooltipSlider.cpp
@@ -19,8 +19,6 @@
 #include <QString>
 #include <QToolTip>
 
-#include <iostream>
-
 QValueTooltipSlider::QValueTooltipSlider(QWidget* parent)
     : QSlider(parent)
 {
diff --git a/Applications/DataExplorer/DataView/GeoTreeView.cpp b/Applications/DataExplorer/DataView/GeoTreeView.cpp
index 43b5bad1e7a..fce20c51892 100644
--- a/Applications/DataExplorer/DataView/GeoTreeView.cpp
+++ b/Applications/DataExplorer/DataView/GeoTreeView.cpp
@@ -15,7 +15,6 @@
 #include <QFileDialog>
 #include <QMenu>
 #include <QSettings>
-#include <iostream>
 
 #include "GeoObjectListItem.h"
 #include "GeoTreeItem.h"
diff --git a/Applications/DataExplorer/DataView/StationTreeView.cpp b/Applications/DataExplorer/DataView/StationTreeView.cpp
index 4ab81df0a81..80d5d196144 100644
--- a/Applications/DataExplorer/DataView/StationTreeView.cpp
+++ b/Applications/DataExplorer/DataView/StationTreeView.cpp
@@ -14,7 +14,6 @@
 
 #include <QFileDialog>
 #include <QMenu>
-#include <iostream>
 
 #include "GMSInterface.h"
 #include "Station.h"
diff --git a/Applications/DataExplorer/VtkVis/VtkRaster.cpp b/Applications/DataExplorer/VtkVis/VtkRaster.cpp
index f36c8418d3e..c3f03ca7873 100644
--- a/Applications/DataExplorer/VtkVis/VtkRaster.cpp
+++ b/Applications/DataExplorer/VtkVis/VtkRaster.cpp
@@ -16,7 +16,6 @@
 
 #include <algorithm>
 #include <cmath>
-#include <iostream>
 #include <limits>
 
 #include <QFileInfo>
diff --git a/Applications/Utils/FileConverter/ConvertSHPToGLI.cpp b/Applications/Utils/FileConverter/ConvertSHPToGLI.cpp
index 9d87af4e1e1..65465ae5205 100644
--- a/Applications/Utils/FileConverter/ConvertSHPToGLI.cpp
+++ b/Applications/Utils/FileConverter/ConvertSHPToGLI.cpp
@@ -14,7 +14,6 @@
 
 // STL
 #include <fstream>
-#include <iostream>
 #include <vector>
 
 #include <tclap/CmdLine.h>
diff --git a/Applications/Utils/FileConverter/ConvertVtkToOsg.cpp b/Applications/Utils/FileConverter/ConvertVtkToOsg.cpp
index f14b37c0b3c..fc2b4b6e245 100644
--- a/Applications/Utils/FileConverter/ConvertVtkToOsg.cpp
+++ b/Applications/Utils/FileConverter/ConvertVtkToOsg.cpp
@@ -15,8 +15,6 @@
 // ** INCLUDES **
 #include "VtkOsgConverter.h"
 
-#include <iostream>
-
 #include <vtkActor.h>
 #include <vtkDataSetMapper.h>
 #include <vtkGenericDataObjectReader.h>
diff --git a/AssemblerLib/ComponentGlobalIndexDict.h b/AssemblerLib/ComponentGlobalIndexDict.h
index eabb3d60027..21ff6dd89aa 100644
--- a/AssemblerLib/ComponentGlobalIndexDict.h
+++ b/AssemblerLib/ComponentGlobalIndexDict.h
@@ -13,7 +13,6 @@
 #ifndef ASSEMBLERLIB_COMPONENTGLOBALINDEXDICT_H_
 #define ASSEMBLERLIB_COMPONENTGLOBALINDEXDICT_H_
 
-#include <iostream>
 #include <limits>
 
 #include <boost/multi_index/composite_key.hpp>
diff --git a/BaseLib/DateTools.cpp b/BaseLib/DateTools.cpp
index 14624941bad..6de1ddb7dd5 100644
--- a/BaseLib/DateTools.cpp
+++ b/BaseLib/DateTools.cpp
@@ -16,7 +16,6 @@
 
 #include <cmath>
 #include <cstdlib>
-#include <iostream>
 #include <sstream>
 
 // ThirdParty/logog
diff --git a/BaseLib/MemWatch.cpp b/BaseLib/MemWatch.cpp
index 79477664314..953f4e84b2e 100644
--- a/BaseLib/MemWatch.cpp
+++ b/BaseLib/MemWatch.cpp
@@ -15,7 +15,6 @@
 #include "MemWatch.h"
 
 #if !defined(WIN32) && !defined(__APPLE__) && !defined(__MINGW32__)
-#include <iostream>
 #include <fstream>
 #include <string>
 #include <sstream>
diff --git a/GeoLib/LineSegment.cpp b/GeoLib/LineSegment.cpp
index 66f57c45436..e0d3adbd2d8 100644
--- a/GeoLib/LineSegment.cpp
+++ b/GeoLib/LineSegment.cpp
@@ -9,8 +9,6 @@
 
 #include "LineSegment.h"
 
-#include <iostream>
-
 namespace GeoLib
 {
 LineSegment::LineSegment(Point* const a, Point* const b,
diff --git a/MathLib/LinAlg/Dense/DenseMatrix.h b/MathLib/LinAlg/Dense/DenseMatrix.h
index 0b80dc1e3f4..b030a92dd93 100644
--- a/MathLib/LinAlg/Dense/DenseMatrix.h
+++ b/MathLib/LinAlg/Dense/DenseMatrix.h
@@ -18,7 +18,6 @@
 #include <new>
 #include <exception>
 #include <stdexcept>
-#include <iostream>
 
 #include "MathLib/Vector3.h"
 
diff --git a/MeshLib/MeshQuality/ElementQualityMetric.cpp b/MeshLib/MeshQuality/ElementQualityMetric.cpp
index 25f29dfcc76..c80d6a1c3ea 100644
--- a/MeshLib/MeshQuality/ElementQualityMetric.cpp
+++ b/MeshLib/MeshQuality/ElementQualityMetric.cpp
@@ -15,7 +15,6 @@
 #include "ElementQualityMetric.h"
 
 #include <cmath>
-#include <iostream>
 
 #include "GeoLib/Point.h"
 #include "MeshLib/Node.h"
diff --git a/Tests/AssemblerLib/LocalToGlobalIndexMapMultiComponent.cpp b/Tests/AssemblerLib/LocalToGlobalIndexMapMultiComponent.cpp
index 53e657449ae..0184d26fc2e 100644
--- a/Tests/AssemblerLib/LocalToGlobalIndexMapMultiComponent.cpp
+++ b/Tests/AssemblerLib/LocalToGlobalIndexMapMultiComponent.cpp
@@ -23,8 +23,6 @@
 #include "MeshGeoToolsLib/MeshNodeSearcher.h"
 #include "MeshGeoToolsLib/BoundaryElementsSearcher.h"
 
-#include <iostream>
-
 namespace AL = AssemblerLib;
 namespace MeL = MeshLib;
 namespace MGTL = MeshGeoToolsLib;
diff --git a/Tests/GeoLib/TestAABB.cpp b/Tests/GeoLib/TestAABB.cpp
index 4e435ab5e4e..a52feb960c3 100644
--- a/Tests/GeoLib/TestAABB.cpp
+++ b/Tests/GeoLib/TestAABB.cpp
@@ -15,7 +15,6 @@
 #include <cstdlib>
 #include <ctime>
 #include <list>
-#include <iostream>
 #include <random>
 
 #include "gtest/gtest.h"
diff --git a/Tests/MathLib/TestEigenCSR.cpp b/Tests/MathLib/TestEigenCSR.cpp
index 6871585c5d7..8a5677dd37f 100644
--- a/Tests/MathLib/TestEigenCSR.cpp
+++ b/Tests/MathLib/TestEigenCSR.cpp
@@ -9,8 +9,6 @@
 
 #include <gtest/gtest.h>
 
-#include <iostream>
-
 #include <vector>
 #include <numeric>
 
diff --git a/Tests/MeshLib/TestQuadMesh.cpp b/Tests/MeshLib/TestQuadMesh.cpp
index 7d79e7d8581..07dc24c7ab5 100644
--- a/Tests/MeshLib/TestQuadMesh.cpp
+++ b/Tests/MeshLib/TestQuadMesh.cpp
@@ -7,7 +7,6 @@
  */
 
 #include <ctime>
-#include <iostream>
 #include <iterator>
 #include "gtest/gtest.h"
 
diff --git a/Tests/MeshLib/TestTriLineMesh.cpp b/Tests/MeshLib/TestTriLineMesh.cpp
index 1f97f9dac24..afb1d30b05d 100644
--- a/Tests/MeshLib/TestTriLineMesh.cpp
+++ b/Tests/MeshLib/TestTriLineMesh.cpp
@@ -6,7 +6,6 @@
  *              http://www.opengeosys.org/LICENSE.txt
  */
 
-#include <iostream>
 #include "gtest/gtest.h"
 
 #include "MeshLib/Mesh.h"
diff --git a/Tests/NumLib/ODEs.h b/Tests/NumLib/ODEs.h
index c8b07dd1867..b693bf6efdb 100644
--- a/Tests/NumLib/ODEs.h
+++ b/Tests/NumLib/ODEs.h
@@ -15,7 +15,7 @@
 #include "NumLib/ODESolver/ODESystem.h"
 
 // debug
-#include <iostream>
+//#include <iostream>
 
 
 template<typename Matrix, typename Vector,
-- 
GitLab