From: Gabriel Corona Date: Tue, 29 Sep 2015 12:59:13 +0000 (+0200) Subject: Mark some internal symbols as hidden on ELF in base X-Git-Tag: v3_12~79^2~8 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/acbe12568e89a163cdee064b66c7a9b2e9846ff9 Mark some internal symbols as hidden on ELF in base --- 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);