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 2faff12696
commit b0b43e97b6
2 changed files with 3 additions and 1 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 <vector>
#include <numeric>
#include <iterator>
#include <fstream>
namespace
{