X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/978002647ac64c5880295a6c4ddde0cc50cab465..1aaf3e3fc120f9434c692f1c49d03a00b24e55a1:/src/kernel/resource/Resource.cpp diff --git a/src/kernel/resource/Resource.cpp b/src/kernel/resource/Resource.cpp index ff87ae8277..427a6b1aa9 100644 --- a/src/kernel/resource/Resource.cpp +++ b/src/kernel/resource/Resource.cpp @@ -3,7 +3,7 @@ /* 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 "src/kernel/resource/Resource.hpp" +#include "simgrid/kernel/resource/Resource.hpp" #include "src/kernel/lmm/maxmin.hpp" // Constraint #include "src/surf/surf_interface.hpp" @@ -20,21 +20,21 @@ Resource::~Resource() = default; bool Resource::isOn() const { - return isOn_; + return is_on_; } bool Resource::isOff() const { - return not isOn_; + return not is_on_; } void Resource::turnOn() { - isOn_ = true; + is_on_ = true; } void Resource::turnOff() { - isOn_ = false; + is_on_ = false; } double Resource::getLoad()