X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9104957deccc59e0e804215d5db498fabfd40d29..b60c8af597ab1859e4b804954e6e6df37e8cff06:/src/surf/cpu_cas01.hpp diff --git a/src/surf/cpu_cas01.hpp b/src/surf/cpu_cas01.hpp index f01f62bc64..1621b1b3fc 100644 --- a/src/surf/cpu_cas01.hpp +++ b/src/surf/cpu_cas01.hpp @@ -3,6 +3,9 @@ /* 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. */ +#ifndef SIMGRID_SURF_CPUCAS01_HPP +#define SIMGRID_SURF_CPUCAS01_HPP + #include "cpu_interface.hpp" #include "xbt/base.h" @@ -66,7 +69,7 @@ public: CpuCas01Action(const CpuCas01Action&) = delete; CpuCas01Action& operator=(const CpuCas01Action&) = delete; ~CpuCas01Action() override; - int requested_core(); + int requested_core() const; private: int requested_core_ = 1; @@ -75,3 +78,5 @@ private: } // namespace resource } // namespace kernel } // namespace simgrid + +#endif