From 046382c722cc6bf05965ee4393334e9bc2c2948a Mon Sep 17 00:00:00 2001 From: Chengjiang Yin Date: Thu, 7 Mar 2024 16:35:09 +0800 Subject: [PATCH] also change out_stream condition when enable/disable_output --- source/base/timer.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/base/timer.cc b/source/base/timer.cc index 025567cc1b..41dd6378b6 100644 --- a/source/base/timer.cc +++ b/source/base/timer.cc @@ -1018,6 +1018,7 @@ void TimerOutput::disable_output() { output_is_enabled = false; + out_stream.set_condition(false); } @@ -1026,6 +1027,7 @@ void TimerOutput::enable_output() { output_is_enabled = true; + out_stream.set_condition(true); } void -- 2.39.5