Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sonar: also ignore S5271 for the examples in C++
[simgrid.git] / src / kernel / activity / ActivityImpl.hpp
index 7cf2c0b..fcda330 100644 (file)
@@ -89,7 +89,7 @@ private:
   std::string tracing_category_ = "";
 
 public:
-  AnyActivityImpl& set_name(const std::string& name)
+  AnyActivityImpl& set_name(const std::string& name) /* Hides the function in the ancestor class */
   {
     ActivityImpl::set_name(name);
     return static_cast<AnyActivityImpl&>(*this);