From: maintenance team Date: Mon, 30 Jul 2007 12:31:06 +0000 (+0000) Subject: Correction for 15881. Problem compilation on RedHat and DebianSarge X-Git-Tag: T15881 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d1ed4d43ef388769a70575abf61de33d02d496bf;p=plugins%2Fnetgenplugin.git Correction for 15881. Problem compilation on RedHat and DebianSarge --- diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index a62fa7b..d49ead5 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -48,6 +48,7 @@ using namespace std; #include #include #include +#include // Netgen include files namespace nglib { @@ -501,6 +502,12 @@ bool NETGENPlugin_Mesher::Compute() void NETGENPlugin_Mesher::RemoveTmpFiles() { - OSD_File( OSD_Path("test.out") ).Remove(); - OSD_File( OSD_Path("problemfaces") ).Remove(); + TCollection_AsciiString str("test.out"); + OSD_Path path1( str ); + OSD_File file1( path1 ); + file1.Remove(); + str = "problemfaces"; + OSD_Path path2( str ); + OSD_File file2( path2 ); + file2.Remove(); }