From: abn Date: Wed, 9 Mar 2016 10:34:28 +0000 (+0100) Subject: Minor bug fix. X-Git-Tag: V8_1_0a1~32^2~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=17c30b61b28b30d9bf1e21442fc145ce060908be;p=tools%2Fmedcoupling.git Minor bug fix. --- diff --git a/src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx b/src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx index b5b50af88..9b2f1a92d 100644 --- a/src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx +++ b/src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx @@ -59,7 +59,7 @@ std::string MEDPARTITIONERTest::getPartitionerParaExe() const { execName=getenv("MEDCOUPLING_ROOT_DIR"); execName+="/bin/medpartitioner_para"; - std::ifstream my_file(execName); + std::ifstream my_file(execName.c_str()); if (my_file.good()) return execName; }