Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Make some constructors explicit
[simgrid.git] / src / surf / AsClusterFatTree.hpp
index e4cb4c0..f6aef46 100644 (file)
@@ -101,7 +101,7 @@ public:
  */
 class XBT_PRIVATE AsClusterFatTree : public AsCluster {
 public:
-  AsClusterFatTree(const char*name);
+  explicit AsClusterFatTree(const char*name);
   ~AsClusterFatTree();
   virtual void getRouteAndLatency(NetCard *src, NetCard *dst,
                                   sg_platf_route_cbarg_t into,