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 09:10:00 +00:00
parent decdd3185f
commit 9bd2f7c1dc
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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