A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Suppressed a bit too much of codes
[simgrid.git]
/
src
/
simgrid
/
util.hpp
diff --git
a/src/simgrid/util.hpp
b/src/simgrid/util.hpp
index bc286365753e5214142ab56d2e6c76b61730cb7f..734b80b1ce8cec56e78b0e31d37d7bc16e44c1fa 100644
(file)
--- a/
src/simgrid/util.hpp
+++ b/
src/simgrid/util.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2015-202
2
. The SimGrid Team.
+/* Copyright (c) 2015-202
3
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-9,8
+9,7
@@
#include <xbt/base.h>
#include <xbt/base.h>
-namespace simgrid {
-namespace util {
+namespace simgrid::util {
/** Find a pointer to a value stores in a map (or nullptr) */
template<typename C, typename K>
/** Find a pointer to a value stores in a map (or nullptr) */
template<typename C, typename K>
@@
-35,7
+34,6
@@
typename C::mapped_type const* find_map_ptr(C const& c, K const& k)
return &i->second;
}
return &i->second;
}
-} // namespace util
-} // namespace simgrid
+} // namespace simgrid::util
#endif
#endif