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 const& for the parameters of type std::string not affected by previous commit.
[simgrid.git]
/
src
/
surf
/
xml
/
surfxml_parseplatf.cpp
diff --git
a/src/surf/xml/surfxml_parseplatf.cpp
b/src/surf/xml/surfxml_parseplatf.cpp
index
ad85acb
..
b58cc69
100644
(file)
--- a/
src/surf/xml/surfxml_parseplatf.cpp
+++ b/
src/surf/xml/surfxml_parseplatf.cpp
@@
-60,7
+60,7
@@
void sg_platf_trace_connect(simgrid::kernel::routing::TraceConnectCreationArgs*
}
/* This function acts as a main in the parsing area. */
-void parse_platform_file(
std::string
file)
+void parse_platform_file(
const std::string&
file)
{
const char* cfile = file.c_str();
int len = strlen(cfile);