X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/387f0d33929229d58e854595762a9951d880b9fb..301e8d03b6cc9a9daa12a874582a8ea2b1838269:/src/surf/cpu_cas01.hpp diff --git a/src/surf/cpu_cas01.hpp b/src/surf/cpu_cas01.hpp index 3671bd8cdb..38a81954c0 100644 --- a/src/surf/cpu_cas01.hpp +++ b/src/surf/cpu_cas01.hpp @@ -3,9 +3,8 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include - #include "cpu_interface.hpp" +#include "xbt/base.h" /*********** * Classes * @@ -24,7 +23,7 @@ class XBT_PRIVATE CpuCas01Action; class CpuCas01Model : public simgrid::surf::CpuModel { public: - CpuCas01Model(kernel::resource::Model::UpdateAlgo algo); + explicit CpuCas01Model(kernel::resource::Model::UpdateAlgo algo); ~CpuCas01Model() override; Cpu *createCpu(simgrid::s4u::Host *host, std::vector *speedPerPstate, int core) override;