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
typo
[simgrid.git]
/
include
/
xbt
/
utility.hpp
diff --git
a/include/xbt/utility.hpp
b/include/xbt/utility.hpp
index
bb599d6
..
c35be72
100644
(file)
--- a/
include/xbt/utility.hpp
+++ b/
include/xbt/utility.hpp
@@
-31,8
+31,7
@@
} \
enum class EnumType { __VA_ARGS__ } /* defined here to handle trailing semicolon */
} \
enum class EnumType { __VA_ARGS__ } /* defined here to handle trailing semicolon */
-namespace simgrid {
-namespace xbt {
+namespace simgrid::xbt {
/** @brief Replacement for C++20's std::type_identity_t
*/
/** @brief Replacement for C++20's std::type_identity_t
*/
@@
-80,6
+79,5
@@
template <class List, class Elem> inline void intrusive_erase(List& list, Elem&
list.erase(list.iterator_to(elem));
}
list.erase(list.iterator_to(elem));
}
-} // namespace xbt
-} // namespace simgrid
+} // namespace simgrid::xbt
#endif
#endif