Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Polymorphic base class destructor should be either public virtual or protected non...
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 16 Mar 2022 20:37:55 +0000 (21:37 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 16 Mar 2022 20:52:06 +0000 (21:52 +0100)
commitc8de1d1065c327e9c93c7389946cc2652c7d0f20
tree290d068256c2bc889a22dfa27e47e026d09d623a
parent0b73cc4a788d90a073877c3ff9ce752991cd5a6e
Polymorphic base class destructor should be either public virtual or protected non-virtual.

This is Sonar rule S1235
https://sonarcloud.io/organizations/simgrid/rules?open=cpp%3AS1235&rule_key=cpp%3AS1235

Some of the classes are simply marked "final" so that they can never become a
polymorphic base class.
include/simgrid/kernel/resource/NetworkModelIntf.hpp
src/kernel/actor/CommObserver.hpp
src/kernel/actor/SimcallObserver.hpp
src/kernel/actor/SynchroObserver.hpp