X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ea74f5d95928a521a588737e81f1de94eef25d19..d68e1c39ec0832cb2391aedd17a868c597dd399e:/include/xbt/promise.hpp diff --git a/include/xbt/promise.hpp b/include/xbt/promise.hpp index 074853ebf9..dc19907471 100644 --- a/include/xbt/promise.hpp +++ b/include/xbt/promise.hpp @@ -1,5 +1,4 @@ -/* Copyright (c) 2015-2022. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2015-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. */ @@ -18,8 +17,7 @@ #include #include -namespace simgrid { -namespace xbt { +namespace simgrid::xbt { /** A value or an exception (or nothing) * @@ -127,7 +125,6 @@ template inline void set_promise(P& promise, F&& future) { fulfill_promise(promise, [&future] { return std::forward(future).get(); }); } -} -} +} // namespace simgrid::xbt #endif