mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-01 07:11:45 +00:00
Adjust implementation to match new interface.
Patch provided by Morten Ofstad llvm-svn: 17826
This commit is contained in:
parent
f95f7e05a5
commit
238e966215
@ -72,7 +72,7 @@ static void RegisterHandler() {
|
||||
}
|
||||
|
||||
// RemoveFileOnSignal - The public API
|
||||
void sys::RemoveFileOnSignal(const std::string &Filename) {
|
||||
void sys::RemoveFileOnSignal(const sys::Path &Filename) {
|
||||
RegisterHandler();
|
||||
|
||||
if (CleanupExecuted)
|
||||
@ -81,7 +81,7 @@ void sys::RemoveFileOnSignal(const std::string &Filename) {
|
||||
if (FilesToRemove == NULL)
|
||||
FilesToRemove = new std::vector<sys::Path>;
|
||||
|
||||
FilesToRemove->push_back(sys::Path(Filename));
|
||||
FilesToRemove->push_back(sys::Path(Filename.get()));
|
||||
|
||||
LeaveCriticalSection(&CriticalSection);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user