anchor nix::Exit exception
This commit is contained in:
parent
2f5789c5d6
commit
9d7ce0bf45
2 changed files with 2 additions and 0 deletions
|
@ -369,5 +369,6 @@ PrintFreed::~PrintFreed()
|
||||||
% showBytes(results.bytesFreed);
|
% showBytes(results.bytesFreed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Exit::~Exit() { }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,6 +17,7 @@ public:
|
||||||
int status;
|
int status;
|
||||||
Exit() : status(0) { }
|
Exit() : status(0) { }
|
||||||
Exit(int status) : status(status) { }
|
Exit(int status) : status(status) { }
|
||||||
|
virtual ~Exit();
|
||||||
};
|
};
|
||||||
|
|
||||||
int handleExceptions(const string & programName, std::function<void()> fun);
|
int handleExceptions(const string & programName, std::function<void()> fun);
|
||||||
|
|
Loading…
Reference in a new issue