use C++11 constructor for filebuf
This commit is contained in:
parent
06a29dabb1
commit
0253a419ad
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ public:
|
|||
std::istream istream(&sbuf);
|
||||
#else
|
||||
std::filebuf fileBuffer;
|
||||
fileBuffer.open(fileName.c_str(), std::ios_base::in);
|
||||
fileBuffer.open(fileName, std::ios::in);
|
||||
std::istream istream(&fileBuffer);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue