mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 15:38:57 +00:00
Give FileRemover a default constructor to allow FileRemovers to be created
and initialized separately. llvm-svn: 99717
This commit is contained in:
parent
4651d3f3ef
commit
d28d7ac049
@ -40,6 +40,8 @@ namespace llvm {
|
||||
sys::Path Filename;
|
||||
bool DeleteIt;
|
||||
public:
|
||||
FileRemover() : DeleteIt(false) {}
|
||||
|
||||
explicit FileRemover(const sys::Path &filename, bool deleteIt = true)
|
||||
: Filename(filename), DeleteIt(deleteIt) {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user