summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/setup_utils.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-02-29 15:17:26 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-02-29 15:57:17 +0100
commite8a9df96a084dc8c34d928a63e8fedbcb2eec9b6 (patch)
tree30976722418f87b620441e4698590108e56f25bb /src/other_tools/just_mr/setup_utils.hpp
parenta0e21b45baac40462089d7b80faa33ebabe7b010 (diff)
downloadjustbuild-e8a9df96a084dc8c34d928a63e8fedbcb2eec9b6.tar.gz
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.
Diffstat (limited to 'src/other_tools/just_mr/setup_utils.hpp')
-rw-r--r--src/other_tools/just_mr/setup_utils.hpp4
1 files changed, 2 insertions, 2 deletions
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<std::string> const& remote_exec_addr,
std::optional<std::string> 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<std::string> const& remote_serve_addr,
- MultiRepoRemoteAuthArguments const& auth) -> bool;
+ MultiRepoRemoteAuthArguments const& auth) noexcept -> bool;
} // namespace Utils