A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Deprecate the is_off() methods.
[simgrid.git]
/
src
/
surf
/
StorageImpl.cpp
diff --git
a/src/surf/StorageImpl.cpp
b/src/surf/StorageImpl.cpp
index
c709305
..
0053a4f
100644
(file)
--- a/
src/surf/StorageImpl.cpp
+++ b/
src/surf/StorageImpl.cpp
@@
-81,7
+81,7
@@
void StorageImpl::apply_event(kernel::profile::Event* /*event*/, double /*value*
void StorageImpl::turn_on()
{
- if (
is_off
()) {
+ if (
not is_on
()) {
Resource::turn_on();
s4u::Storage::on_state_change(this->piface_);
}