[llvm-commits] CVS: llvm/lib/System/Win32/Signals.cpp
Reid Spencer
reid at x10sys.com
Mon Nov 15 09:20:39 PST 2004
Changes in directory llvm/lib/System/Win32:
Signals.cpp updated: 1.10 -> 1.11
---
Log message:
Adjust implementation to match new interface.
Patch provided by Morten Ofstad
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/System/Win32/Signals.cpp
diff -u llvm/lib/System/Win32/Signals.cpp:1.10 llvm/lib/System/Win32/Signals.cpp:1.11
--- llvm/lib/System/Win32/Signals.cpp:1.10 Fri Nov 5 16:15:36 2004
+++ llvm/lib/System/Win32/Signals.cpp Mon Nov 15 11:20:28 2004
@@ -72,7 +72,7 @@
}
// 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 @@
if (FilesToRemove == NULL)
FilesToRemove = new std::vector<sys::Path>;
- FilesToRemove->push_back(sys::Path(Filename));
+ FilesToRemove->push_back(sys::Path(Filename.get()));
LeaveCriticalSection(&CriticalSection);
}
More information about the llvm-commits
mailing list