Fix incomplete type error for std::ofstream in examples

On my system I got
```c++
error: variable ‘std::ofstream file’ has initializer but incomplete type
         std::ofstream file(fname.str().c_str());
```
This is fixed with this commit by including fstream. Previously,
this include might have happened implicitely.
This commit is contained in:
Markus Blatt 2016-05-27 08:59:00 +00:00
parent ef2125f39e
commit dbf425411f
3 changed files with 4 additions and 2 deletions

View File

@ -36,6 +36,8 @@
#include <boost/filesystem.hpp>
#include <fstream>
namespace
{
void warnIfUnusedParams(const Opm::parameter::ParameterGroup& param)

View File

@ -54,7 +54,7 @@
#include <iostream>
#include <vector>
#include <numeric>
#include <fstream>
namespace
{

View File

@ -54,7 +54,7 @@
#include <vector>
#include <numeric>
#include <iterator>
#include <fstream>
namespace
{