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
Concatenate nested namespaces (sonar).
[simgrid.git]
/
src
/
xbt
/
random.cpp
diff --git
a/src/xbt/random.cpp
b/src/xbt/random.cpp
index
af2cfd4
..
cb53f80
100644
(file)
--- a/
src/xbt/random.cpp
+++ b/
src/xbt/random.cpp
@@
-15,9
+15,7
@@
XBT_LOG_EXTERNAL_CATEGORY(xbt);
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_random, xbt, "Random");
XBT_LOG_EXTERNAL_CATEGORY(xbt);
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_random, xbt, "Random");
-namespace simgrid {
-namespace xbt {
-namespace random {
+namespace simgrid::xbt::random {
bool Random::read_state(const std::string& filename)
{
bool Random::read_state(const std::string& filename)
{
@@
-157,6
+155,4
@@
double normal(double mean, double sd)
return default_random->normal(mean, sd);
}
return default_random->normal(mean, sd);
}
-} // namespace random
-} // namespace xbt
-} // namespace simgrid
+} // namespace simgrid::xbt::random