Skip to content

Commit

Permalink
Merge pull request #16726 from RichardYCJ/master
Browse files Browse the repository at this point in the history
Also change out_stream condition when enable/disable_output
  • Loading branch information
kronbichler committed Apr 17, 2024
2 parents 162f6fe + 046382c commit b3da75b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/base/timer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,7 @@ void
TimerOutput::disable_output()
{
output_is_enabled = false;
out_stream.set_condition(false);
}


Expand All @@ -1026,6 +1027,7 @@ void
TimerOutput::enable_output()
{
output_is_enabled = true;
out_stream.set_condition(true);
}

void
Expand Down

0 comments on commit b3da75b

Please sign in to comment.