X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b3b356352e87ae00a20f737c48e19b0c8413455a..c4000f89d4644c3d7ff6187a62a0930c4d53e683:/src/simgrid/util.hpp diff --git a/src/simgrid/util.hpp b/src/simgrid/util.hpp index 32ba9c494c..8cfdc73a48 100644 --- a/src/simgrid/util.hpp +++ b/src/simgrid/util.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2015. The SimGrid Team. +/* Copyright (c) 2015-2018. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -7,14 +7,14 @@ #ifndef SIMGRID_UTIL_HTPP #define SIMGRID_UTIL_HTPP -#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 +25,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);