diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-16 06:59:53 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-16 06:59:53 +0000 |
commit | 98601218901190d9d3bb5ebccae659f8db265b5d (patch) | |
tree | c8728decf0d74a1bd391353e7f8c8513b77aa64c /lib/System/Win32/Signals.cpp | |
parent | e26057a376f04e20da6c7217d19eaa184767cb1d (diff) |
Simplify code.
Patch contributed by Jeff Cohen.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Win32/Signals.cpp')
-rw-r--r-- | lib/System/Win32/Signals.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/System/Win32/Signals.cpp b/lib/System/Win32/Signals.cpp index 1377a2ff20..afe6c8dfa6 100644 --- a/lib/System/Win32/Signals.cpp +++ b/lib/System/Win32/Signals.cpp @@ -12,7 +12,6 @@ //===----------------------------------------------------------------------===// #include "Win32.h" -#include <llvm/System/Signals.h> #include <stdio.h> #include <vector> @@ -81,7 +80,7 @@ void sys::RemoveFileOnSignal(const sys::Path &Filename) { if (FilesToRemove == NULL) FilesToRemove = new std::vector<sys::Path>; - FilesToRemove->push_back(sys::Path(Filename.get())); + FilesToRemove->push_back(Filename); LeaveCriticalSection(&CriticalSection); } |