explicitly include <iostream>

instead of relying on relying that some header includes it...
This commit is contained in:
Andreas Lauser
2013-09-03 15:30:00 +02:00
parent 8ee63106c5
commit 0582ef08d8
12 changed files with 19 additions and 4 deletions

View File

@@ -41,6 +41,7 @@
#include <opm/core/wells.h> #include <opm/core/wells.h>
#include <algorithm> #include <algorithm>
#include <iostream>

View File

@@ -40,10 +40,12 @@
#include <opm/core/simulator/WellState.hpp> #include <opm/core/simulator/WellState.hpp>
#include <opm/core/simulator/initState.hpp> #include <opm/core/simulator/initState.hpp>
#include <algorithm>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include <algorithm>
#include <iostream>
namespace { namespace {
boost::shared_ptr<Wells> boost::shared_ptr<Wells>
createWellConfig() createWellConfig()

View File

@@ -24,6 +24,8 @@
#include <opm/core/grid.h> #include <opm/core/grid.h>
#include <opm/core/utility/ErrorMacros.hpp> #include <opm/core/utility/ErrorMacros.hpp>
#include <iostream>
// -------------------- class HelperOps -------------------- // -------------------- class HelperOps --------------------
/// Contains vectors and sparse matrices that represent subsets or /// Contains vectors and sparse matrices that represent subsets or

View File

@@ -34,6 +34,7 @@
#include <cassert> #include <cassert>
#include <cmath> #include <cmath>
#include <iostream>
#include <iomanip> #include <iomanip>
#define DUMP(foo) \ #define DUMP(foo) \

View File

@@ -26,6 +26,7 @@
#include <opm/core/linalg/LinearSolverInterface.hpp> #include <opm/core/linalg/LinearSolverInterface.hpp>
#include <opm/core/wells.h> #include <opm/core/wells.h>
#include <iostream>
#include <iomanip> #include <iomanip>

View File

@@ -56,6 +56,7 @@
#include <numeric> #include <numeric>
#include <fstream> #include <fstream>
#include <iostream>
namespace Opm namespace Opm

View File

@@ -56,6 +56,7 @@
#include <numeric> #include <numeric>
#include <fstream> #include <fstream>
#include <iostream>
namespace Opm namespace Opm

View File

@@ -54,6 +54,7 @@
#include <numeric> #include <numeric>
#include <fstream> #include <fstream>
#include <iostream>
namespace Opm namespace Opm

View File

@@ -37,6 +37,8 @@
#include <opm/core/utility/parameters/ParameterGroup.hpp> #include <opm/core/utility/parameters/ParameterGroup.hpp>
#include <fstream> #include <fstream>
#include <iostream>
struct SetupSimple { struct SetupSimple {
SetupSimple() SetupSimple()

View File

@@ -32,7 +32,7 @@
#include <Eigen/Eigen> #include <Eigen/Eigen>
#include <Eigen/Sparse> #include <Eigen/Sparse>
#include <iostream>
BOOST_AUTO_TEST_CASE(ScalarMultiplication) BOOST_AUTO_TEST_CASE(ScalarMultiplication)
{ {

View File

@@ -30,6 +30,7 @@
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <iostream>
BOOST_AUTO_TEST_CASE(OneArgConstr) BOOST_AUTO_TEST_CASE(OneArgConstr)
{ {

View File

@@ -8,9 +8,11 @@
#include <opm/autodiff/AutoDiff.hpp> #include <opm/autodiff/AutoDiff.hpp>
#include <cmath>
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <cmath>
#include <iostream>
BOOST_AUTO_TEST_CASE(Initialisation) BOOST_AUTO_TEST_CASE(Initialisation)
{ {
typedef AutoDiff::Forward<double> AdFW; typedef AutoDiff::Forward<double> AdFW;