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
Remove explicit conversion to std::string when it's not required.
[simgrid.git]
/
src
/
smpi
/
include
/
smpi_file.hpp
diff --git
a/src/smpi/include/smpi_file.hpp
b/src/smpi/include/smpi_file.hpp
index
60ab2fd
..
631d5cd
100644
(file)
--- a/
src/smpi/include/smpi_file.hpp
+++ b/
src/smpi/include/smpi_file.hpp
@@
-44,7
+44,7
@@
class File : public F2C{
int flags() const;
MPI_Datatype etype() const;
MPI_Comm comm() const;
int flags() const;
MPI_Datatype etype() const;
MPI_Comm comm() const;
- std::string name() const override {
return file_ ? std::string("MPI_File: ")+ std::string(file_->get_path()): std::string("MPI_File");
}
+ std::string name() const override {
return file_ ? "MPI_File: " + std::string(file_->get_path()) : "MPI_File";
}
int sync();
int seek(MPI_Offset offset, int whence);
int sync();
int seek(MPI_Offset offset, int whence);