#include "simgrid/kernel/resource/NetworkModelIntf.hpp"
#include "simgrid/s4u/Engine.hpp"
#include "simgrid/sg_config.hpp"
+#include "src/internal_config.h" // HAVE_SMPI
static double factor_cb(double, const simgrid::s4u::Host*, const simgrid::s4u::Host*,
const std::vector<simgrid::s4u::Link*>&, const std::unordered_set<simgrid::s4u::NetZone*>&)
{
std::vector<std::string> models{"LV08", "CM02"};
#if HAVE_SMPI
- models.push_back("SMPI");
- models.push_back("IB");
+ models.emplace_back("SMPI");
+ models.emplace_back("IB");
#endif
for (const auto& model : models) {
}
}
}
-#endif
\ No newline at end of file
+#endif