Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please clang
[simgrid.git] / src / smpi / include / smpi_datatype_derived.hpp
index 48ca0a8..845bd50 100644 (file)
@@ -21,7 +21,7 @@ public:
   Type_Contiguous(const Type_Contiguous&) = delete;
   Type_Contiguous& operator=(const Type_Contiguous&) = delete;
   ~Type_Contiguous();
-  Type_Contiguous* clone();
+  Type_Contiguous* clone() override;
   void serialize(const void* noncontiguous, void* contiguous, int count) override;
   void unserialize(const void* contiguous_vector, void* noncontiguous_vector, int count, MPI_Op op) override;
 };
@@ -39,7 +39,7 @@ public:
   Type_Hvector(const Type_Hvector&) = delete;
   Type_Hvector& operator=(const Type_Hvector&) = delete;
   ~Type_Hvector();
-  Type_Hvector* clone();
+  Type_Hvector* clone() override;
   void serialize(const void* noncontiguous, void* contiguous, int count) override;
   void unserialize(const void* contiguous_vector, void* noncontiguous_vector, int count, MPI_Op op) override;
 };
@@ -48,7 +48,7 @@ class Type_Vector : public Type_Hvector {
 public:
   Type_Vector(int size, MPI_Aint lb, MPI_Aint ub, int flags, int count, int blocklen, int stride,
               MPI_Datatype old_type);
-  Type_Vector* clone();
+  Type_Vector* clone() override;
 };
 
 class Type_Hindexed: public Datatype{
@@ -65,7 +65,7 @@ public:
                 MPI_Datatype old_type, MPI_Aint factor);
   Type_Hindexed(const Type_Hindexed&) = delete;
   Type_Hindexed& operator=(const Type_Hindexed&) = delete;
-  Type_Hindexed* clone();
+  Type_Hindexed* clone() override;
   ~Type_Hindexed();
   void serialize(const void* noncontiguous, void* contiguous, int count) override;
   void unserialize(const void* contiguous_vector, void* noncontiguous_vector, int count, MPI_Op op) override;
@@ -75,7 +75,7 @@ class Type_Indexed : public Type_Hindexed {
 public:
   Type_Indexed(int size, MPI_Aint lb, MPI_Aint ub, int flags, int block_count, const int* block_lengths, const int* block_indices,
                MPI_Datatype old_type);
-  Type_Indexed* clone();
+  Type_Indexed* clone() override;
 };
 
 class Type_Struct: public Datatype{
@@ -89,7 +89,7 @@ public:
               const MPI_Aint* block_indices, const MPI_Datatype* old_types);
   Type_Struct(const Type_Struct&) = delete;
   Type_Struct& operator=(const Type_Struct&) = delete;
-  Type_Struct* clone();
+  Type_Struct* clone() override;
   ~Type_Struct();
   void serialize(const void* noncontiguous, void* contiguous, int count) override;
   void unserialize(const void* contiguous_vector, void* noncontiguous_vector, int count, MPI_Op op) override;