Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Avoid multiple declaration on the same line/statement
[simgrid.git] / src / surf / HostImpl.hpp
index c423c91..5ab2ae2 100644 (file)
@@ -103,6 +103,7 @@ public:
   ~HostImpl();
 
 public:
+  // Overload the method for covariant return type:
   HostModel *getModel()
   {
     return static_cast<HostModel*>(Resource::getModel());