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
Link Topo and Comm in both directions, and fix memory leak.
[simgrid.git]
/
src
/
smpi
/
include
/
smpi_topo.hpp
diff --git
a/src/smpi/include/smpi_topo.hpp
b/src/smpi/include/smpi_topo.hpp
index
a0d55ad
..
fe58401
100644
(file)
--- a/
src/smpi/include/smpi_topo.hpp
+++ b/
src/smpi/include/smpi_topo.hpp
@@
-15,12
+15,12
@@
namespace simgrid{
namespace smpi{
class Topo {
namespace smpi{
class Topo {
- MPI_Comm comm_;
+ MPI_Comm comm_
= MPI_COMM_NULL
;
public:
virtual ~Topo() = default;
MPI_Comm getComm() const { return comm_; }
public:
virtual ~Topo() = default;
MPI_Comm getComm() const { return comm_; }
- void setComm(MPI_Comm comm)
{ comm_ = comm; }
+ void setComm(MPI_Comm comm)
;
};
class Topo_Cart: public Topo {
};
class Topo_Cart: public Topo {