-/* Copyright (c) 2008-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2008-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. */
// teshsuite/s4u/evaluate-parse-time/evaluate-parse-time examples/platforms/g5k.xml
-#include <stdio.h>
+#include <cstdio>
#include "simgrid/s4u/Engine.hpp"
#include "xbt/xbt_os_time.h"
xbt_os_sleep(atoi(argv[2]));
}
- free(timer);
+ xbt_os_timer_free(timer);
return 0;
}