Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Grammar in smpi_base.cpp
[simgrid.git] / src / surf / HostImpl.hpp
index c423c91..f31677a 100644 (file)
@@ -100,9 +100,10 @@ public:
 
   /* Host destruction logic */
   /**************************/
-  ~HostImpl();
+  ~HostImpl() override;
 
 public:
+  // Overload the method for covariant return type:
   HostModel *getModel()
   {
     return static_cast<HostModel*>(Resource::getModel());