-/* Copyright (c) 2009-2021. The SimGrid Team.
+/* Copyright (c) 2009-2022. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
for (const auto& a : dag)
a->destroy();
dag.clear();
+ dag.shrink_to_fit();
}
return dag;