Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Obsolete declaration.
[simgrid.git] / src / surf / StorageImpl.hpp
index 955fb3f1a5665a67fc8b3bcaedc882b7b407d552..ba17f01a592c53ba35d84095a8bf9ef7df2e5ed6 100644 (file)
@@ -83,7 +83,7 @@ public:
   ~StorageImpl() override;
 
   s4u::Storage* get_iface() { return &piface_; }
-  const char* get_type() { return typeId_.c_str(); }
+  const char* get_type() const { return typeId_.c_str(); }
   lmm::Constraint* get_read_constraint() const { return constraint_read_; }
   lmm::Constraint* get_write_constraint() const { return constraint_write_; }
   /** @brief Check if the Storage is used (if an action currently uses its resources) */