]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/resource/NetworkModelIntf_test.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
removed unused variable
[simgrid.git] / src / kernel / resource / NetworkModelIntf_test.cpp
index 357a130ae936c9087df4c3241cd449f4d7d7a18e..5af8c050362bf868bb6a21188863c832a3b4ff56 100644 (file)
@@ -1,4 +1,4 @@
-/* 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. */
@@ -20,8 +20,8 @@ TEST_CASE("kernel::resource::NetworkModelIntf: Factors invalid callbacks: except
 {
   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) {