-/* Copyright (c) 2008-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2008-2021. 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. */
void State::copy_incomplete_comm_pattern()
{
incomplete_comm_pattern_.clear();
- for (auto i=0; i < mcapi::get().get_maxpid(); i++) {
+ for (unsigned long i = 0; i < mcapi::get().get_maxpid(); i++) {
std::vector<simgrid::mc::PatternCommunication> res;
for (auto const& comm : incomplete_communications_pattern[i])
res.push_back(comm->dup());