X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/84402e8e2ee2a2d0bef25fdceb0a263ed8b471f6..131ea969cf91c332bd533b7e9d67c729149e9b4d:/src/s4u/s4u_Storage.cpp diff --git a/src/s4u/s4u_Storage.cpp b/src/s4u/s4u_Storage.cpp index 6ecf463296..dfd02fd22d 100644 --- a/src/s4u/s4u_Storage.cpp +++ b/src/s4u/s4u_Storage.cpp @@ -11,9 +11,8 @@ #include "src/surf/StorageImpl.hpp" namespace simgrid { -namespace xbt { -template class Extendable; -} // namespace xbt + +template class xbt::Extendable; namespace s4u { @@ -38,7 +37,7 @@ Storage* Storage::by_name_or_null(const std::string& name) const char* Storage::get_type() const { - return pimpl_->typeId_.c_str(); + return pimpl_->get_type(); } const std::unordered_map* Storage::get_properties() const