From 17c30b61b28b30d9bf1e21442fc145ce060908be Mon Sep 17 00:00:00 2001 From: abn Date: Wed, 9 Mar 2016 11:34:28 +0100 Subject: [PATCH] Minor bug fix. --- src/MEDPartitioner/Test/MEDPARTITIONERTestPara.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2