X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fa222c38f9b796be07ab4351ffc810a61a8fd705..5811ded710c22d5cdc908db44b8282519e4f543e:/src/simgrid/util.hpp diff --git a/src/simgrid/util.hpp b/src/simgrid/util.hpp index 32ba9c494c..195070742f 100644 --- a/src/simgrid/util.hpp +++ b/src/simgrid/util.hpp @@ -9,12 +9,14 @@ #include +#include + namespace simgrid { namespace util { /** Find a pointer to a value stores in a map (or nullptr) */ template -inline +inline XBT_PRIVATE typename C::mapped_type* find_map_ptr(C& c, K const& k) { typename C::iterator i = c.find(k); @@ -25,7 +27,7 @@ typename C::mapped_type* find_map_ptr(C& c, K const& k) } template -inline +inline XBT_PRIVATE typename C::mapped_type const* find_map_ptr(C const& c, K const& k) { typename C::const_iterator i = c.find(k);