X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDWrapper%2FMED_Factory.cxx;h=52558d0f43c3e0210eda60ea00ec8a06ebfc11bc;hb=49ff23c9;hp=02b7e866ee737e69f6029ec33970789626113043;hpb=1b80c8bc605eaea62874a92d75613657bf664e9e;p=modules%2Fsmesh.git diff --git a/src/MEDWrapper/MED_Factory.cxx b/src/MEDWrapper/MED_Factory.cxx index 02b7e866e..52558d0f4 100644 --- a/src/MEDWrapper/MED_Factory.cxx +++ b/src/MEDWrapper/MED_Factory.cxx @@ -111,10 +111,10 @@ namespace MED return new MED::TWrapper(fileName); } - PWrapper CrWrapperW(const std::string& fileName) + PWrapper CrWrapperW(const std::string& fileName, int theMinor) { if (!CheckCompatibility(fileName)) remove(fileName.c_str()); - return new MED::TWrapper(fileName); + return new MED::TWrapper(fileName, theMinor); } }