From 563816a700d5342c06bad118f5c2d409d874cd8e Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Mon, 22 Apr 2013 21:43:06 +0000 Subject: [PATCH] The std::ofstream::open() do not take string as argument but char* under MacOS at least. --- vlsisapd/src/bookshelf/src/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlsisapd/src/bookshelf/src/Parser.cpp b/vlsisapd/src/bookshelf/src/Parser.cpp index 928723e9..8239d199 100644 --- a/vlsisapd/src/bookshelf/src/Parser.cpp +++ b/vlsisapd/src/bookshelf/src/Parser.cpp @@ -82,7 +82,7 @@ namespace Bookshelf { bool Parser::_openStream ( const Utilities::Path& filePath ) { if ( _stream.is_open() ) _closeStream(); - _stream.open ( filePath.string() ); + _stream.open ( filePath.string().c_str() ); _lineno = 0; return _stream.is_open();