-/* Copyright (c) 2017-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2017-2022. 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. */
return current;
}
-void Host::check_factor_configs(const std::string op) const
+void Host::check_factor_configs(const std::string& op) const
{
static const std::unordered_map<std::string, SmpiOperation> name_to_op_enum{
{"smpi/or", SmpiOperation::RECV}, {"smpi/os", SmpiOperation::SEND}, {"smpi/ois", SmpiOperation::ISEND}};