Add an explicit keyword.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66595 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2009-03-10 23:10:46 +00:00
parent cabb383aba
commit 7f3030c471

View File

@ -35,7 +35,7 @@ protected:
bool Unbuffered;
public:
raw_ostream(bool unbuffered=false) : Unbuffered(unbuffered) {
explicit raw_ostream(bool unbuffered=false) : Unbuffered(unbuffered) {
// Start out ready to flush.
OutBufStart = OutBufEnd = OutBufCur = 0;
}