diff --git a/include/boost/mpi/environment.hpp b/include/boost/mpi/environment.hpp index 32bac26..6d0177c 100644 --- a/include/boost/mpi/environment.hpp +++ b/include/boost/mpi/environment.hpp @@ -176,7 +176,7 @@ public: * @param errcode The error code to return to the environment. * @returns Will not return. */ - static void abort(int errcode); + [[noreturn]] static void abort(int errcode); /** Determine if the MPI environment has already been initialized. *