commit | 238ec53e707e3ad3132252655cbd65b634e03e87 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Aug 01 20:29:18 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Aug 01 20:29:18 2003 +0000 |
tree | 9f30dd4b7e540881ab525ddd6394cf87555f3307 | |
parent | d32fe2e59270652e55d116c18e89eccedaab93b9 [diff] [blame] |
Use the C++, more portable, deleter llvm-svn: 7483
diff --git a/llvm/lib/Support/SystemUtils.cpp b/llvm/lib/Support/SystemUtils.cpp index aca9e5a..ec0bcb3 100644 --- a/llvm/lib/Support/SystemUtils.cpp +++ b/llvm/lib/Support/SystemUtils.cpp
@@ -20,7 +20,7 @@ /// removeFile - Delete the specified file /// void removeFile(const std::string &Filename) { - unlink(Filename.c_str()); + std::remove(Filename.c_str()); } /// getUniqueFilename - Return a filename with the specified prefix. If the