From abc8650fc0fdd766819f72a3daea26c0e3c5591d Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 15 Nov 2004 17:20:28 +0000 Subject: [PATCH] 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 --- lib/System/Win32/Signals.cpp | 4 ++-- lib/System/Win32/Signals.inc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/System/Win32/Signals.cpp b/lib/System/Win32/Signals.cpp index 262c240b3e4..1377a2ff20f 100644 --- a/lib/System/Win32/Signals.cpp +++ b/lib/System/Win32/Signals.cpp @@ -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; - FilesToRemove->push_back(sys::Path(Filename)); + FilesToRemove->push_back(sys::Path(Filename.get())); LeaveCriticalSection(&CriticalSection); } diff --git a/lib/System/Win32/Signals.inc b/lib/System/Win32/Signals.inc index 262c240b3e4..1377a2ff20f 100644 --- a/lib/System/Win32/Signals.inc +++ b/lib/System/Win32/Signals.inc @@ -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; - FilesToRemove->push_back(sys::Path(Filename)); + FilesToRemove->push_back(sys::Path(Filename.get())); LeaveCriticalSection(&CriticalSection); }