[llvm-commits] [llvm] r66595 - /llvm/trunk/include/llvm/Support/raw_ostream.h
Dan Gohman
gohman at apple.com
Tue Mar 10 16:10:46 PDT 2009
Author: djg
Date: Tue Mar 10 18:10:46 2009
New Revision: 66595
URL: http://llvm.org/viewvc/llvm-project?rev=66595&view=rev
Log:
Add an explicit keyword.
Modified:
llvm/trunk/include/llvm/Support/raw_ostream.h
Modified: llvm/trunk/include/llvm/Support/raw_ostream.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/raw_ostream.h?rev=66595&r1=66594&r2=66595&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/raw_ostream.h (original)
+++ llvm/trunk/include/llvm/Support/raw_ostream.h Tue Mar 10 18:10:46 2009
@@ -35,7 +35,7 @@
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;
}
More information about the llvm-commits
mailing list