X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b204ff04eae43a5f5a8825141ae0647b92507bc8..c6bbeb1829c36ff45b43ab25f9d8d3f53f554d98:/src/surf/cpu_ti.hpp diff --git a/src/surf/cpu_ti.hpp b/src/surf/cpu_ti.hpp index d2cfa0e045..823149a421 100644 --- a/src/surf/cpu_ti.hpp +++ b/src/surf/cpu_ti.hpp @@ -45,7 +45,7 @@ class CpuTiTmgr { }; public: - explicit CpuTiTmgr(double value) : type_(Type::FIXED), value_(value){}; + explicit CpuTiTmgr(double value) : value_(value){}; CpuTiTmgr(profile::Profile* speed_profile, double value); CpuTiTmgr(const CpuTiTmgr&) = delete; CpuTiTmgr& operator=(const CpuTiTmgr&) = delete; @@ -55,7 +55,7 @@ public: double get_power_scale(double a); private: - Type type_; + Type type_ = Type::FIXED; double value_; /*< Percentage of cpu speed available. Value fixed between 0 and 1 */ /* Dynamic */