A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use std::string_view (sonar).
[simgrid.git]
/
src
/
kernel
/
lmm
/
System.hpp
diff --git
a/src/kernel/lmm/System.hpp
b/src/kernel/lmm/System.hpp
index
12a194f
..
a0505ce
100644
(file)
--- a/
src/kernel/lmm/System.hpp
+++ b/
src/kernel/lmm/System.hpp
@@
-18,6
+18,7
@@
#include <cmath>
#include <limits>
#include <memory>
#include <cmath>
#include <limits>
#include <memory>
+#include <string_view>
#include <vector>
namespace simgrid::kernel::lmm {
#include <vector>
namespace simgrid::kernel::lmm {
@@
-418,7
+419,7
@@
public:
* @param selective_update Enables lazy updates
* @return pointer to System instance
*/
* @param selective_update Enables lazy updates
* @return pointer to System instance
*/
- static System* build(
const std::string&
solver_name, bool selective_update);
+ static System* build(
std::string_view
solver_name, bool selective_update);
/** @brief Validates solver configuration */
static void validate_solver(const std::string& solver_name);
/** @brief Validates solver configuration */
static void validate_solver(const std::string& solver_name);