From 7f3030c471d32d56c1429c8d3c331306e39a2570 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 10 Mar 2009 23:10:46 +0000 Subject: [PATCH] Add an explicit keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66595 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/raw_ostream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index 0f1bee383ac..852f7db4a17 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -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; }