diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-02-29 15:17:26 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-02-29 15:57:17 +0100 |
commit | e8a9df96a084dc8c34d928a63e8fedbcb2eec9b6 (patch) | |
tree | 30976722418f87b620441e4698590108e56f25bb /src/other_tools/just_mr/setup_utils.cpp | |
parent | a0e21b45baac40462089d7b80faa33ebabe7b010 (diff) | |
download | justbuild-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.cpp')
-rw-r--r-- | src/other_tools/just_mr/setup_utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/other_tools/just_mr/setup_utils.cpp b/src/other_tools/just_mr/setup_utils.cpp index c6805e07..43d19709 100644 --- a/src/other_tools/just_mr/setup_utils.cpp +++ b/src/other_tools/just_mr/setup_utils.cpp @@ -32,7 +32,7 @@ namespace { -void SetupAuthConfig(MultiRepoRemoteAuthArguments const& authargs) { +void SetupAuthConfig(MultiRepoRemoteAuthArguments const& authargs) noexcept { bool use_tls{false}; if (authargs.tls_ca_cert) { use_tls = true; @@ -237,7 +237,7 @@ auto ReadConfiguration( auto GetRemoteApi(std::optional<std::string> const& remote_exec_addr, std::optional<std::string> const& remote_serve_addr, - MultiRepoRemoteAuthArguments const& auth) + MultiRepoRemoteAuthArguments const& auth) noexcept -> IExecutionApi::Ptr { // if only a serve endpoint address is given, we assume it is one that acts // also as remote-execution @@ -262,7 +262,7 @@ auto GetRemoteApi(std::optional<std::string> const& remote_exec_addr, } auto SetupServeApi(std::optional<std::string> const& remote_serve_addr, - MultiRepoRemoteAuthArguments const& auth) -> bool { + MultiRepoRemoteAuthArguments const& auth) noexcept -> bool { if (remote_serve_addr) { // setup authentication SetupAuthConfig(auth); |