From: Dan Gohman Date: Tue, 10 Mar 2009 23:10:46 +0000 (+0000) Subject: Add an explicit keyword. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7f3030c471d32d56c1429c8d3c331306e39a2570;p=oota-llvm.git Add an explicit keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66595 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }