]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/cpu_ti.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
these archaic callbacks are not used anymore, so kill them
[simgrid.git] / src / surf / cpu_ti.hpp
index b81507b6b8defa048cc34823e78c45d7788f1898..014789a0fceea5c0aea1a3c05d01828f066ff399 100644 (file)
@@ -47,7 +47,7 @@ class CpuTiTmgr {
   };
 
 public:
-  CpuTiTmgr(double value) : type_(Type::FIXED), value_(value){};
+  explicit CpuTiTmgr(double value) : type_(Type::FIXED), value_(value){};
   CpuTiTmgr(tmgr_trace_t speed_trace, double value);
   CpuTiTmgr(const CpuTiTmgr&) = delete;
   CpuTiTmgr& operator=(const CpuTiTmgr&) = delete;