X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d2958d5c9a0fdca7d0fa344382c13cbcfc581597..3c81f0e12c0996283144a5fe61cfb4c748928b0b:/src/smpi/include/smpi_datatype.hpp diff --git a/src/smpi/include/smpi_datatype.hpp b/src/smpi/include/smpi_datatype.hpp index 7bd716a7bc..5f67115960 100644 --- a/src/smpi/include/smpi_datatype.hpp +++ b/src/smpi/include/smpi_datatype.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2009-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2009-2022. 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. */ @@ -90,10 +90,11 @@ class Datatype_contents { std::vector integers_; std::vector addresses_; std::vector datatypes_; - Datatype_contents(int combiner, - int number_of_integers, const int* integers, - int number_of_addresses, const MPI_Aint* addresses, - int number_of_datatypes, const MPI_Datatype* datatypes); + Datatype_contents(int combiner, int number_of_integers, const int* integers, int number_of_addresses, + const MPI_Aint* addresses, int number_of_datatypes, const MPI_Datatype* datatypes); + Datatype_contents(const Datatype_contents&) = delete; + Datatype_contents& operator=(const Datatype_contents&) = delete; + ~Datatype_contents(); }; class Datatype : public F2C, public Keyval{ @@ -144,7 +145,6 @@ public: bool is_basic() const; static const char* encode(const Datatype* dt) { return dt->id.c_str(); } static MPI_Datatype decode(const std::string& datatype_id); - bool is_replayable() const; void addflag(int flag); int extent(MPI_Aint* lb, MPI_Aint* extent) const; MPI_Aint get_extent() const { return ub_ - lb_; };