Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sonar requires a comment for empty functions.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 14 Apr 2021 06:56:37 +0000 (08:56 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 14 Apr 2021 19:09:56 +0000 (21:09 +0200)
include/simgrid/kernel/routing/NetZoneImpl.hpp

index bbd3899..7ad5dc4 100644 (file)
@@ -176,7 +176,7 @@ private:
   std::shared_ptr<resource::DiskModel> disk_model_;
   std::shared_ptr<simgrid::surf::HostModel> host_model_;
   /** @brief Perform sealing procedure for derived classes, if necessary */
-  virtual void do_seal(){};
+  virtual void do_seal() { /* obviously nothing to do by default */ }
   void add_child(NetZoneImpl* new_zone);
 };
 } // namespace routing