-/* Copyright (c) 2017-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2017-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. */
static void streamer(size_t size)
{
auto* bob = sg4::Host::by_name("bob");
- auto* bob_disk = bob->get_disks().front();
auto* alice = sg4::Host::by_name("alice");
- auto* alice_disk = alice->get_disks().front();
+ const auto* bob_disk = bob->get_disks().front();
+ const auto* alice_disk = alice->get_disks().front();
double clock = sg4::Engine::get_clock();
XBT_INFO("[Bob -> Alice] Store and Forward (1 block)");