mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Adjust implementation to match new interface.
Patch provided by Morten Ofstad git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17826 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
14051812ff
commit
abc8650fc0
@ -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);
|
||||
}
|
||||
|
@ -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…
Reference in New Issue
Block a user