Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a leak in XML parsing
[simgrid.git] / src / surf / HostImpl.hpp
index 5ddc32d..5ab2ae2 100644 (file)
@@ -81,7 +81,6 @@ public:
    *
    * @param model HostModel associated to this Host
    * @param name The name of the Host
-   * @param props Dictionary of properties associated to this Host
    * @param storage The Storage associated to this Host
    * @param cpu The Cpu associated to this Host
    */
@@ -92,7 +91,6 @@ public:
    *
    * @param model HostModel associated to this Host
    * @param name The name of the Host
-   * @param props Dictionary of properties associated to this Host
    * @param constraint The lmm constraint associated to this Host if it is part of a LMM component
    * @param storage The Storage associated to this Host
    * @param cpu The Cpu associated to this Host
@@ -105,6 +103,7 @@ public:
   ~HostImpl();
 
 public:
+  // Overload the method for covariant return type:
   HostModel *getModel()
   {
     return static_cast<HostModel*>(Resource::getModel());