X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5901a7d814ef3c475058d0cc958bebc21c81238c..86807617c071c81695e78683b25cfd87981421dc:/src/surf/PropertyHolder.cpp diff --git a/src/surf/PropertyHolder.cpp b/src/surf/PropertyHolder.cpp index eed6a29679..853bcb5522 100644 --- a/src/surf/PropertyHolder.cpp +++ b/src/surf/PropertyHolder.cpp @@ -25,15 +25,15 @@ const char* PropertyHolder::get_property(std::string key) void PropertyHolder::set_property(std::string key, std::string value) { if (not properties_) - properties_ = new std::map; + properties_ = new std::unordered_map; (*properties_)[key] = value; } /** @brief Return the whole set of properties. Don't mess with it, dude! */ -std::map* PropertyHolder::get_properties() +std::unordered_map* PropertyHolder::get_properties() { if (not properties_) - properties_ = new std::map; + properties_ = new std::unordered_map; return properties_; }