X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ea74f5d95928a521a588737e81f1de94eef25d19..f973433226af2e2e3059b62578bb0f3b215380fb:/include/xbt/system_error.hpp?ds=sidebyside diff --git a/include/xbt/system_error.hpp b/include/xbt/system_error.hpp index 198322e168..c94eaff884 100644 --- a/include/xbt/system_error.hpp +++ b/include/xbt/system_error.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2016-2022. The SimGrid Team. +/* Copyright (c) 2016-2023. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -11,8 +11,7 @@ #ifndef SIMGRID_MC_SYSTEM_ERROR_HPP #define SIMGRID_MC_SYSTEM_ERROR_HPP -namespace simgrid { -namespace xbt { +namespace simgrid::xbt { /** A `error_category` suitable to be used with `errno` * @@ -82,7 +81,6 @@ std::system_error errno_error(const char* what) return std::system_error(errno_code(), what); } -} -} +} // namespace simgrid::xbt #endif