-/* Copyright (c) 2007-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-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. */
XBT_INFO("Exiting now (done sleeping or got killed).");
});
}
- void operator()()
+ void operator()() const
{
XBT_INFO("Hello! I go to sleep.");
simgrid::s4u::this_actor::sleep_for(10);