Skip to content

Commit fbed8dc

Browse files
Fix a bug during destruction when rewrite
Created using spr 1.3.5
1 parent fdaa3c1 commit fbed8dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Support/raw_ostream_proxy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class raw_ostream_proxy_adaptor : public RawOstreamT {
7474
/// For example, this can simplify logic when a subclass might have a longer
7575
/// lifetime than the stream it proxies.
7676
void resetProxiedOS() {
77-
OS->SetUnbuffered();
77+
this->SetUnbuffered();
7878
OS = nullptr;
7979
}
8080

0 commit comments

Comments
 (0)