aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/FormattedStream.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-14 20:45:41 +0000
committerChris Lattner <sabre@nondot.org>2009-07-14 20:45:41 +0000
commit001c2b433fd7fc30904abb4eafc78ac996430fe6 (patch)
tree3d84a675ff0edea3402c0404d5bff849d818dfdb /include/llvm/Support/FormattedStream.h
parentd84ba34daa734fc2c6c723a0f4bfb626309f314e (diff)
fix a bug in my previous patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/FormattedStream.h')
-rw-r--r--include/llvm/Support/FormattedStream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/FormattedStream.h b/include/llvm/Support/FormattedStream.h
index ecfa4b8ca8..9658979352 100644
--- a/include/llvm/Support/FormattedStream.h
+++ b/include/llvm/Support/FormattedStream.h
@@ -81,7 +81,7 @@ namespace llvm
~formatted_raw_ostream() {
if (DeleteStream)
- delete &TheStream;
+ delete TheStream;
}
void setStream(raw_ostream &Stream, bool Delete = false) {