The std::ofstream::open() do not take string as argument but char*
under MacOS at least.
This commit is contained in:
parent
cb5fede680
commit
563816a700
|
@ -82,7 +82,7 @@ namespace Bookshelf {
|
||||||
bool Parser::_openStream ( const Utilities::Path& filePath )
|
bool Parser::_openStream ( const Utilities::Path& filePath )
|
||||||
{
|
{
|
||||||
if ( _stream.is_open() ) _closeStream();
|
if ( _stream.is_open() ) _closeStream();
|
||||||
_stream.open ( filePath.string() );
|
_stream.open ( filePath.string().c_str() );
|
||||||
_lineno = 0;
|
_lineno = 0;
|
||||||
|
|
||||||
return _stream.is_open();
|
return _stream.is_open();
|
||||||
|
|
Loading…
Reference in New Issue