X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4bd2cbe6c40e96efdbf49550cc66bb9e35df8b94..3f9b311ec56db95ec539001a860ae3c838c48312:/include/xbt/system_error.hpp diff --git a/include/xbt/system_error.hpp b/include/xbt/system_error.hpp index 4b0bbf21fd..c94eaff884 100644 --- a/include/xbt/system_error.hpp +++ b/include/xbt/system_error.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2016. 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,13 +11,12 @@ #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` * * It is not clear which error we are supposed to generate - * when getting a errno: + * when getting an errno: * * * `system_error` clearly cannot be used for this on Windows; * @@ -82,7 +81,6 @@ std::system_error errno_error(const char* what) return std::system_error(errno_code(), what); } -} -} +} // namespace simgrid::xbt #endif