Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix mess between smx_activity_t and ActivityImplPtr.
[simgrid.git] / src / smpi / include / smpi_info.hpp
index 1fb206a..280afa5 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009-2019. The SimGrid Team.
+/* Copyright (c) 2009-2020. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -21,7 +21,7 @@ class Info : public F2C{
 
 public:
   Info() = default;
-  explicit Info(Info* orig) : map_(orig->map_) {}
+  explicit Info(const Info* orig) : map_(orig->map_) {}
   ~Info() = default;
   void ref();
   static void unref(MPI_Info info);