X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/39c935d6d5ee86d153f6f7e6a10d723ae7c57f6f..49c5a6cf5ad0b5cab623499ba1b4505cd367e452:/src/mc/mc_exit.hpp diff --git a/src/mc/mc_exit.hpp b/src/mc/mc_exit.hpp index f4c4475c7b..273384bd2c 100644 --- a/src/mc/mc_exit.hpp +++ b/src/mc/mc_exit.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2015-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2015-2022. 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. */ @@ -18,15 +18,13 @@ constexpr int SIMGRID_MC_EXIT_PROGRAM_CRASH = 6; constexpr int SIMGRID_MC_EXIT_ERROR = 63; -namespace simgrid { -namespace mc { +namespace simgrid::mc { class XBT_PUBLIC DeadlockError : public std::exception { }; class XBT_PUBLIC TerminationError : public std::exception { }; class XBT_PUBLIC LivenessError : public std::exception { }; -} -} +} // namespace simgrid::mc #endif