summaryrefslogtreecommitdiff
path: root/src/smt/managed_ostreams.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/smt/managed_ostreams.cpp')
-rw-r--r--src/smt/managed_ostreams.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/smt/managed_ostreams.cpp b/src/smt/managed_ostreams.cpp
index c49de7372..27a90cb56 100644
--- a/src/smt/managed_ostreams.cpp
+++ b/src/smt/managed_ostreams.cpp
@@ -122,8 +122,9 @@ ManagedDiagnosticOutputChannel::~ManagedDiagnosticOutputChannel() {
if(Warning.getStreamPointer() == getManagedOstream()){
Warning.setStream(&null_os);
}
- if(Message.getStreamPointer() == getManagedOstream()){
- Message.setStream(&null_os);
+ if (CVC4Message.getStreamPointer() == getManagedOstream())
+ {
+ CVC4Message.setStream(&null_os);
}
if(Notice.getStreamPointer() == getManagedOstream()){
Notice.setStream(&null_os);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback