mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Add using declarations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6305 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -11,9 +11,8 @@
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
#include <signal.h>
|
||||
using std::string;
|
||||
|
||||
static std::vector<string> FilesToRemove;
|
||||
static std::vector<std::string> FilesToRemove;
|
||||
|
||||
// IntSigs - Signals that may interrupt the program at any time.
|
||||
static const int IntSigs[] = {
|
||||
@@ -48,7 +47,7 @@ static void SignalHandler(int Sig) {
|
||||
static void RegisterHandler(int Signal) { signal(Signal, SignalHandler); }
|
||||
|
||||
// RemoveFileOnSignal - The public API
|
||||
void RemoveFileOnSignal(const string &Filename) {
|
||||
void RemoveFileOnSignal(const std::string &Filename) {
|
||||
FilesToRemove.push_back(Filename);
|
||||
|
||||
std::for_each(IntSigs, IntSigsEnd, RegisterHandler);
|
||||
|
||||
Reference in New Issue
Block a user