diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-22 18:19:48 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-22 18:19:48 +0200 |
commit | 91539d305ff035d53a6de75f8af1ebbd7df4e622 (patch) | |
tree | 35fce6b0a0fdd684802019b3ef96b09f16ec9685 /src/nix/progress-bar.cc | |
parent | b2ce6fde5a46b0ebf32139cbbfe97294120f3a90 (diff) |
nix copy: Parallelise
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 ed7b578e2..746b891a7 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_) |