diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-08-25T14·11+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-08-25T14·11+0200 |
commit | f194629f96d4bdbded897e7e88ac0d03211c959d (patch) | |
tree | 8911ecf00dae4838befa8e8616bb088d0c16d690 /src | |
parent | db1d45037cf923bf470a8581d5546bef8247c756 (diff) |
Fix Debian build
https://hydra.nixos.org/build/59390148
Diffstat (limited to 'src')
-rw-r--r-- | src/nix/progress-bar.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nix/progress-bar.cc b/src/nix/progress-bar.cc index 2ad0994508fe..17d7109e7165 100644 --- a/src/nix/progress-bar.cc +++ b/src/nix/progress-bar.cc @@ -129,8 +129,10 @@ public: { auto state(state_.lock()); - state->activities.emplace_back(ActInfo{s, "", type}); + state->activities.emplace_back(ActInfo()); auto i = std::prev(state->activities.end()); + i->s = s; + i->type = type; state->its.emplace(act, i); state->activitiesByType[type].its.emplace(act, i); |