aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/FormattedStream.h
diff options
context:
space:
mode:
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) {