mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-02 22:32:08 +00:00
Add an explicit keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106538 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d4588ffad
commit
455164bdff
@ -170,7 +170,7 @@ public:
|
||||
class FileCloser {
|
||||
int FD;
|
||||
public:
|
||||
FileCloser(int FD) : FD(FD) {}
|
||||
explicit FileCloser(int FD) : FD(FD) {}
|
||||
~FileCloser() { ::close(FD); }
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user