-/* Copyright (c) 2012-2022. The SimGrid Team.
+/* Copyright (c) 2012-2023. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
{
XBT_INFO("Searching %08x, size %zu", destination_id_, nodes_.size());
unsigned int i = 0;
- for (auto const& contact : nodes_)
- XBT_INFO("Node %08x: %08x is at distance %u", i++, contact.first, contact.second);
+ for (auto const& [contact, distance] : nodes_)
+ XBT_INFO("Node %08x: %08x is at distance %u", i++, contact, distance);
}
/** @brief Merge two answers together, only keeping the best nodes