[llvm-commits] [llvm] r75678 - /llvm/trunk/include/llvm/Support/FormattedStream.h
Chris Lattner
sabre at nondot.org
Tue Jul 14 13:45:42 PDT 2009
Author: lattner
Date: Tue Jul 14 15:45:41 2009
New Revision: 75678
URL: http://llvm.org/viewvc/llvm-project?rev=75678&view=rev
Log:
fix a bug in my previous patch.
Modified:
llvm/trunk/include/llvm/Support/FormattedStream.h
Modified: llvm/trunk/include/llvm/Support/FormattedStream.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/FormattedStream.h?rev=75678&r1=75677&r2=75678&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/FormattedStream.h (original)
+++ llvm/trunk/include/llvm/Support/FormattedStream.h Tue Jul 14 15:45:41 2009
@@ -81,7 +81,7 @@
~formatted_raw_ostream() {
if (DeleteStream)
- delete &TheStream;
+ delete TheStream;
}
void setStream(raw_ostream &Stream, bool Delete = false) {
More information about the llvm-commits
mailing list