/* Functions related to the java process instances. */
-/* Copyright (c) 2007-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2007-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. */
auto const* actor = sg_actor_by_pid(pid);
if (not actor) {
- jxbt_throw_process_not_found(env, std::string("PID = ") + std::to_string(static_cast<int>(pid)));
+ jxbt_throw_process_not_found(env, "PID = " + std::to_string(static_cast<int>(pid)));
return nullptr;
}