Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar
authorAugustin Degomme <adegomme@users.noreply.github.com>
Thu, 18 Apr 2019 22:06:03 +0000 (00:06 +0200)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Thu, 18 Apr 2019 22:06:14 +0000 (00:06 +0200)
src/smpi/include/smpi_file.hpp

index fe5487f..5570830 100644 (file)
@@ -27,6 +27,8 @@ class File{
   char* list_;
   public:
   File(MPI_Comm comm, char *filename, int amode, MPI_Info info);
+  File(const File&) = delete;
+  File& operator=(const File&) = delete;
   ~File();
   int size();
   int get_position(MPI_Offset* offset);