Skip to content
Snippets Groups Projects
Commit 8631cddc authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 07e894d0
No related branches found
No related tags found
No related merge requests found
// $Id: GModelIO_Geo.cpp,v 1.21 2008-05-04 08:31:13 geuzaine Exp $ // $Id: GModelIO_Geo.cpp,v 1.22 2008-05-04 15:43:03 geuzaine Exp $
// //
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
// //
...@@ -45,7 +45,7 @@ void GModel::_deleteGEOInternals() ...@@ -45,7 +45,7 @@ void GModel::_deleteGEOInternals()
int GModel::readGEO(const std::string &name) int GModel::readGEO(const std::string &name)
{ {
ParseFile((char*)name.c_str(), 1); ParseFile(name.c_str(), 1);
return importGEOInternals(); return importGEOInternals();
} }
... ...
......
// $Id: PViewIO.cpp,v 1.6 2008-05-04 08:31:24 geuzaine Exp $ // $Id: PViewIO.cpp,v 1.7 2008-05-04 15:43:03 geuzaine Exp $
// //
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
// //
...@@ -246,7 +246,7 @@ bool PView::readMED(std::string fileName, int fileIndex) ...@@ -246,7 +246,7 @@ bool PView::readMED(std::string fileName, int fileIndex)
med_int numFields = MEDnChamp(fid, 0); med_int numFields = MEDnChamp(fid, 0);
if(MEDfermer(fid) < 0){ if(MEDfermer(fid) < 0){
Msg::Error("Unable to close file '%s'", (char*)fileName.c_str()); Msg::Error("Unable to close file '%s'", fileName.c_str());
return false; return false;
} }
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment