summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-03-10 23:10:46 +0000
committerDan Gohman <gohman@apple.com>2009-03-10 23:10:46 +0000
commitdab7b9355fb8cdfd47a406b3438cf17cbee52c90 (patch)
treedaae01f321597304511daa8369517aad84df6875
parentcc51b03a4e97a3da2832132a0496cc5d97638c89 (diff)
downloadbcm5719-llvm-dab7b9355fb8cdfd47a406b3438cf17cbee52c90.tar.gz
bcm5719-llvm-dab7b9355fb8cdfd47a406b3438cf17cbee52c90.zip
Add an explicit keyword.
llvm-svn: 66595
-rw-r--r--llvm/include/llvm/Support/raw_ostream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/raw_ostream.h b/llvm/include/llvm/Support/raw_ostream.h
index 0f1bee383ac..852f7db4a17 100644
--- a/llvm/include/llvm/Support/raw_ostream.h
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud