]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/kernel/resource/Model.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
NetworkModelIntf: Interface to dynamic factors
[simgrid.git] / include / simgrid / kernel / resource / Model.hpp
index 15257b16879baa9859c7251af22f22192ddf0d93..b36fc9933ac124001b10358b4ea8f61a171c217d 100644 (file)
@@ -28,7 +28,7 @@ public:
                    gets recomputed anyway. In that case, you'd better not try to be cleaver with lazy and go for
                    a simple full update.  */
   };
-  explicit Model(std::string name);
+  explicit Model(const std::string& name);
   Model(const Model&) = delete;
   Model& operator=(const Model&) = delete;