Fix Debian build

https://hydra.nixos.org/build/59390148
This commit is contained in:
Eelco Dolstra 2017-08-25 16:11:18 +02:00
parent db1d45037c
commit f194629f96
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -129,8 +129,10 @@ public:
{ {
auto state(state_.lock()); auto state(state_.lock());
state->activities.emplace_back(ActInfo{s, "", type}); state->activities.emplace_back(ActInfo());
auto i = std::prev(state->activities.end()); auto i = std::prev(state->activities.end());
i->s = s;
i->type = type;
state->its.emplace(act, i); state->its.emplace(act, i);
state->activitiesByType[type].its.emplace(act, i); state->activitiesByType[type].its.emplace(act, i);