From f194629f96d4bdbded897e7e88ac0d03211c959d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 25 Aug 2017 16:11:18 +0200 Subject: Fix Debian build https://hydra.nixos.org/build/59390148 --- src/nix/progress-bar.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/nix/progress-bar.cc') 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); -- cgit 1.4.1