X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7bd4c4c813d5e95bbe17bab38c0c07e53a50218d..a4eb5efea24b01bda48fb4dc7c7600de78b4578b:/src/s4u/s4u_storage.cpp diff --git a/src/s4u/s4u_storage.cpp b/src/s4u/s4u_storage.cpp index 60a91423aa..f746562730 100644 --- a/src/s4u/s4u_storage.cpp +++ b/src/s4u/s4u_storage.cpp @@ -67,12 +67,12 @@ xbt_dict_t Storage::getProperties() const char* Storage::getProperty(const char* key) { - return static_cast(xbt_dict_get_or_null(this->getProperties(), key)); + return this->pimpl_->getProperty(key); } void Storage::setProperty(const char* key, char* value) { - xbt_dict_set(this->getProperties(), key, value, nullptr); + simgrid::simix::kernelImmediate([this, key, value] { this->pimpl_->setProperty(key, value); }); } std::map* Storage::getContent()