X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c9cbe5437ecd38eb030949b8899161582c36f7b6..7d95b38c3d4b2911e3cc466e49ca9efbf58e997b:/include/simgrid/simix.hpp diff --git a/include/simgrid/simix.hpp b/include/simgrid/simix.hpp index ac24d4f820..87b82b9743 100644 --- a/include/simgrid/simix.hpp +++ b/include/simgrid/simix.hpp @@ -21,7 +21,9 @@ XBT_PUBLIC void simcall_run_blocking(std::function const& code, XBT_PUBLIC void simcall_run_object_access(std::function const& code, simgrid::kernel::actor::ObjectAccessSimcallItem* item); -namespace simgrid::kernel::actor { +namespace simgrid { +namespace kernel { +namespace actor { /** Execute some code in kernel context on behalf of the user code. * @@ -114,6 +116,8 @@ auto simcall_blocking(F&& code, Observer* observer) -> decltype(observer->get_re simcall_blocking(std::forward(code), static_cast(observer)); return observer->get_result(); } -} // namespace simgrid::kernel::actor - +// compact namespaces are C++17 and this is a public header file so let's stick to C++14 +} // namespace actor +} // namespace kernel +} // namespace simgrid #endif