Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Inheriting constructors should be used.
[simgrid.git] / include / simgrid / kernel / routing / FatTreeZone.hpp
index 5412efd..5a3482b 100644 (file)
@@ -127,7 +127,7 @@ class XBT_PRIVATE FatTreeZone : public ClusterZone {
   void do_seal() override;
 
 public:
-  explicit FatTreeZone(const std::string& name) : ClusterZone(name) {}
+  using ClusterZone::ClusterZone;
   FatTreeZone(const FatTreeZone&) = delete;
   FatTreeZone& operator=(const FatTreeZone&) = delete;
   ~FatTreeZone() override;