Delete deprecated code
This commit is contained in:
parent
9cc5a6ab79
commit
a1c5622601
@ -4089,10 +4089,10 @@ void NETGENPlugin_NetgenLibWrapper::removeOutputFile()
|
|||||||
}
|
}
|
||||||
string tmpDir = SALOMEDS_Tool::GetDirFromPath ( _outputFileName );
|
string tmpDir = SALOMEDS_Tool::GetDirFromPath ( _outputFileName );
|
||||||
string aFileName = SALOMEDS_Tool::GetNameFromPath( _outputFileName ) + ".out";
|
string aFileName = SALOMEDS_Tool::GetNameFromPath( _outputFileName ) + ".out";
|
||||||
SALOMEDS::ListOfFileNames_var aFiles = new SALOMEDS::ListOfFileNames;
|
SALOMEDS_Tool::ListOfFiles aFiles;
|
||||||
aFiles->length(1);
|
aFiles.reserve(1);
|
||||||
aFiles[0] = aFileName.c_str();
|
aFiles.push_back(aFileName.c_str());
|
||||||
|
|
||||||
SALOMEDS_Tool::RemoveTemporaryFiles( tmpDir.c_str(), aFiles.in(), true );
|
SALOMEDS_Tool::RemoveTemporaryFiles( tmpDir.c_str(), aFiles, true );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user