X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9cb40402d4b88cb4690592949dbae63147f92f32..42a3fc7bf956d263989efdd841e07ff0ebe4cbac:/src/kernel/resource/Resource.cpp diff --git a/src/kernel/resource/Resource.cpp b/src/kernel/resource/Resource.cpp index d7a5073ecc..add65583e2 100644 --- a/src/kernel/resource/Resource.cpp +++ b/src/kernel/resource/Resource.cpp @@ -4,20 +4,11 @@ * under the terms of the license (GNU LGPL) which comes with this package. */ #include "simgrid/kernel/resource/Resource.hpp" -#include "src/kernel/resource/profile/FutureEvtSet.hpp" -#include "src/kernel/resource/profile/Profile.hpp" -#include "src/surf/surf_interface.hpp" namespace simgrid { namespace kernel { namespace resource { -void Resource::set_state_profile(profile::Profile* profile) -{ - xbt_assert(state_event_ == nullptr, "Cannot set a second state profile to %s", get_cname()); - state_event_ = profile->schedule(&profile::future_evt_set, this); -} - } // namespace resource } // namespace kernel } // namespace simgrid