X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2807fde4fd1f59c230d69a934634c5dfb77905f2..cc4eceb15c80a597e44222b8c0ff60caf85db959:/src/smpi/include/smpi_topo.hpp diff --git a/src/smpi/include/smpi_topo.hpp b/src/smpi/include/smpi_topo.hpp index 9dd874258c..35e3196d52 100644 --- a/src/smpi/include/smpi_topo.hpp +++ b/src/smpi/include/smpi_topo.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2019. 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. */ @@ -33,6 +33,8 @@ class Topo_Cart: public Topo { int *position_; public: explicit Topo_Cart(int ndims); + Topo_Cart(const Topo_Cart&) = delete; + Topo_Cart& operator=(const Topo_Cart&) = delete; ~Topo_Cart(); Topo_Cart(MPI_Comm comm_old, int ndims, int dims[], int periods[], int reorder, MPI_Comm *comm_cart); Topo_Cart* sub(const int remain_dims[], MPI_Comm *newcomm) ; @@ -52,6 +54,8 @@ class Topo_Graph: public Topo { int *edges_; public: Topo_Graph(); + Topo_Graph(const Topo_Graph&) = delete; + Topo_Graph& operator=(const Topo_Graph&) = delete; ~Topo_Graph(); }; @@ -63,6 +67,8 @@ class Topo_Dist_Graph: public Topo { int *out_weights_; public: Topo_Dist_Graph(); + Topo_Dist_Graph(const Topo_Dist_Graph&) = delete; + Topo_Dist_Graph& operator=(const Topo_Dist_Graph&) = delete; ~Topo_Dist_Graph(); };