X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/27fe833c49802fa5fbb1e44dc7b99d119fe3aa4b..f8498e93073ae2ad6e6e19571ecf52c9104edbd0:/src/surf/StorageImpl.cpp diff --git a/src/surf/StorageImpl.cpp b/src/surf/StorageImpl.cpp index 18c9ac67d4..9cdc5544eb 100644 --- a/src/surf/StorageImpl.cpp +++ b/src/surf/StorageImpl.cpp @@ -93,7 +93,7 @@ void StorageImpl::turn_off() s4u::Storage::on_state_change(this->piface_); } } -xbt::signal +xbt::signal StorageAction::on_state_change; /********** @@ -103,7 +103,7 @@ void StorageAction::set_state(Action::State state) { Action::State old = get_state(); Action::set_state(state); - on_state_change(this, old, state); + on_state_change(*this, old, state); } } // namespace resource } // namespace kernel