From 9cc4c023d3fdef175cc79e03bb7a16ede1a5c634 Mon Sep 17 00:00:00 2001 From: Jose Date: Mon, 13 Apr 2015 16:35:20 +0200 Subject: Missing char* conversion --- cpp/src/Slice/Util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/Slice/Util.cpp') diff --git a/cpp/src/Slice/Util.cpp b/cpp/src/Slice/Util.cpp index cacad7217f0..f8360f038c1 100644 --- a/cpp/src/Slice/Util.cpp +++ b/cpp/src/Slice/Util.cpp @@ -400,7 +400,7 @@ Slice::DependOutputUtil::DependOutputUtil(string& file) : _file(file) { if(!_file.empty()) { - _os.open(file, ios::out); + _os.open(file.c_str(), ios::out); } } -- cgit v1.2.3