From 6e74b1448bf8d94d73ef3134aa9e8bf36e51a2aa Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Wed, 2 Oct 2024 16:03:45 +0200 Subject: Enable bugprone-exception-escape check --- src/other_tools/just_mr/setup_utils.cpp | 2 +- src/other_tools/just_mr/setup_utils.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/other_tools') diff --git a/src/other_tools/just_mr/setup_utils.cpp b/src/other_tools/just_mr/setup_utils.cpp index 4aa710c5..777343f5 100644 --- a/src/other_tools/just_mr/setup_utils.cpp +++ b/src/other_tools/just_mr/setup_utils.cpp @@ -126,7 +126,7 @@ void DefaultReachableRepositories( auto ReadConfiguration( std::optional const& config_file_opt, - std::optional const& absent_file_opt) noexcept + std::optional const& absent_file_opt) -> std::shared_ptr { if (not config_file_opt) { Logger::Log(LogLevel::Error, "Cannot find repository configuration."); diff --git a/src/other_tools/just_mr/setup_utils.hpp b/src/other_tools/just_mr/setup_utils.hpp index e29df4a6..c96db5a3 100644 --- a/src/other_tools/just_mr/setup_utils.hpp +++ b/src/other_tools/just_mr/setup_utils.hpp @@ -77,7 +77,7 @@ void DefaultReachableRepositories( /// \brief Read in a just-mr configuration file. [[nodiscard]] auto ReadConfiguration( std::optional const& config_file_opt, - std::optional const& absent_file_opt) noexcept + std::optional const& absent_file_opt) -> std::shared_ptr; [[nodiscard]] auto CreateAuthConfig( -- cgit v1.2.3