diff options
Diffstat (limited to 'src/nix/progress-bar.cc')
-rw-r--r-- | src/nix/progress-bar.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/progress-bar.cc b/src/nix/progress-bar.cc index ed7b578e2f49..746b891a78df 100644 --- a/src/nix/progress-bar.cc +++ b/src/nix/progress-bar.cc @@ -29,12 +29,12 @@ void ProgressBar::updateStatus(const std::string & s) void ProgressBar::done() { + _writeToStderr = decltype(_writeToStderr)(); auto state_(state.lock()); assert(state_->activities.empty()); state_->done = true; std::cerr << "\r\e[K"; std::cerr.flush(); - _writeToStderr = decltype(_writeToStderr)(); } void ProgressBar::render(State & state_) |