From: Arnaud Giersch Date: Wed, 10 Apr 2019 08:54:51 +0000 (+0200) Subject: [sonar] clean_action() called from destructor should not be overridable. X-Git-Tag: v3.22.2~117 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/e284f0ab4f0fa36d5c1cf9e2dc79dd8b020ec09c [sonar] clean_action() called from destructor should not be overridable. --- diff --git a/src/kernel/activity/ActivityImpl.hpp b/src/kernel/activity/ActivityImpl.hpp index d99f965dd2..d8d591466d 100644 --- a/src/kernel/activity/ActivityImpl.hpp +++ b/src/kernel/activity/ActivityImpl.hpp @@ -36,7 +36,7 @@ public: virtual void finish() = 0; virtual void register_simcall(smx_simcall_t simcall); - virtual void clean_action(); + void clean_action(); virtual double get_remaining() const; // boost::intrusive_ptr support: friend XBT_PUBLIC void intrusive_ptr_add_ref(ActivityImpl* activity);