From acbe12568e89a163cdee064b66c7a9b2e9846ff9 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Tue, 29 Sep 2015 14:59:13 +0200 Subject: [PATCH] Mark some internal symbols as hidden on ELF in base --- src/simgrid/util.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); -- 2.20.1