Correction for 15881. Problem compilation on RedHat and DebianSarge
This commit is contained in:
parent
9565b39f81
commit
d1ed4d43ef
@ -48,6 +48,7 @@ using namespace std;
|
|||||||
#include <NCollection_Map.hxx>
|
#include <NCollection_Map.hxx>
|
||||||
#include <OSD_Path.hxx>
|
#include <OSD_Path.hxx>
|
||||||
#include <OSD_File.hxx>
|
#include <OSD_File.hxx>
|
||||||
|
#include <TCollection_AsciiString.hxx>
|
||||||
|
|
||||||
// Netgen include files
|
// Netgen include files
|
||||||
namespace nglib {
|
namespace nglib {
|
||||||
@ -501,6 +502,12 @@ bool NETGENPlugin_Mesher::Compute()
|
|||||||
|
|
||||||
void NETGENPlugin_Mesher::RemoveTmpFiles()
|
void NETGENPlugin_Mesher::RemoveTmpFiles()
|
||||||
{
|
{
|
||||||
OSD_File( OSD_Path("test.out") ).Remove();
|
TCollection_AsciiString str("test.out");
|
||||||
OSD_File( OSD_Path("problemfaces") ).Remove();
|
OSD_Path path1( str );
|
||||||
|
OSD_File file1( path1 );
|
||||||
|
file1.Remove();
|
||||||
|
str = "problemfaces";
|
||||||
|
OSD_Path path2( str );
|
||||||
|
OSD_File file2( path2 );
|
||||||
|
file2.Remove();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user