From e8a9df96a084dc8c34d928a63e8fedbcb2eec9b6 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 29 Feb 2024 15:17:26 +0100 Subject: just-mr and serve: Extend use of noexcept specifier The just serve client-side and API methods, as well as just-mr utilities should use the noexcept specifier. --- src/other_tools/just_mr/setup_utils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/other_tools/just_mr/setup_utils.hpp') diff --git a/src/other_tools/just_mr/setup_utils.hpp b/src/other_tools/just_mr/setup_utils.hpp index 11d4af45..278658c1 100644 --- a/src/other_tools/just_mr/setup_utils.hpp +++ b/src/other_tools/just_mr/setup_utils.hpp @@ -66,13 +66,13 @@ void DefaultReachableRepositories( [[nodiscard]] auto GetRemoteApi( std::optional const& remote_exec_addr, std::optional const& remote_serve_addr, - MultiRepoRemoteAuthArguments const& auth) -> IExecutionApi::Ptr; + MultiRepoRemoteAuthArguments const& auth) noexcept -> IExecutionApi::Ptr; /// \brief Setup of a 'just serve' remote API based on just-mr arguments. /// \returns Flag stating whether a serve API is available or not. [[nodiscard]] auto SetupServeApi( std::optional const& remote_serve_addr, - MultiRepoRemoteAuthArguments const& auth) -> bool; + MultiRepoRemoteAuthArguments const& auth) noexcept -> bool; } // namespace Utils -- cgit v1.2.3