fix a bug in my previous patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75678 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-07-14 20:45:41 +00:00
parent d84ba34daa
commit 001c2b433f

View File

@ -81,7 +81,7 @@ namespace llvm
~formatted_raw_ostream() {
if (DeleteStream)
delete &TheStream;
delete TheStream;
}
void setStream(raw_ostream &Stream, bool Delete = false) {