-/* Copyright (c) 2010-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
DIE_IMPOSSIBLE;
}
}
- ctx.scenarios.push_back({type, ctx.start_time, duration, sender_expected, receiver_expected, steps, ctx.index});
+ Scenario scen{type, ctx.start_time, duration, sender_expected, receiver_expected, steps, ctx.index};
+ ctx.scenarios.push_back(scen);
ctx.active++;
}
ctx.index++;