mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
decdd3185f
commit
9bd2f7c1dc
@ -57,7 +57,7 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <numeric>
|
||||
|
||||
#include <fstream>
|
||||
|
||||
namespace
|
||||
{
|
||||
|
@ -57,7 +57,7 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <numeric>
|
||||
|
||||
#include <fstream>
|
||||
|
||||
namespace
|
||||
{
|
||||
|
@ -57,7 +57,7 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <numeric>
|
||||
|
||||
#include <fstream>
|
||||
|
||||
namespace
|
||||
{
|
||||
|
@ -78,7 +78,7 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <numeric>
|
||||
|
||||
#include <fstream>
|
||||
|
||||
namespace
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user