From 6e4c9076339fe133db2b35cade62b32048b739de Mon Sep 17 00:00:00 2001 From: ana Date: Wed, 31 Jul 2013 15:27:11 +0000 Subject: [PATCH] Preparation win32 version --- src/NETGENPlugin/NETGENPlugin_Mesher.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index 3f888ff..b0604e8 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -2900,8 +2900,9 @@ bool NETGENPlugin_Mesher::Evaluate(MapShapeNbElems& aResMap) void NETGENPlugin_Mesher::RemoveTmpFiles() { + bool rm = SMESH_File("test.out").remove() ; #ifndef WIN32 - if ( SMESH_File("test.out").remove() && netgen::testout) + if (rm && netgen::testout) { delete netgen::testout; netgen::testout = 0; -- 2.39.2