X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8e3525c475262f259a70a3f9a2a4f12d36b3d243..df94ee218f091fdb8cf343cde0b6f9be2d46a739:/src/xbt/random.cpp diff --git a/src/xbt/random.cpp b/src/xbt/random.cpp index af2cfd45cb..f63dd2f2d1 100644 --- a/src/xbt/random.cpp +++ b/src/xbt/random.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2019-2022. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2019-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -15,9 +15,7 @@ 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) { @@ -157,6 +155,4 @@ double normal(double mean, double sd) return default_random->normal(mean, sd); } -} // namespace random -} // namespace xbt -} // namespace simgrid +} // namespace simgrid::xbt::random