diff options
Diffstat (limited to 'src/buildtool/common')
-rw-r--r-- | src/buildtool/common/repository_config.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/buildtool/common/repository_config.hpp b/src/buildtool/common/repository_config.hpp index 3319a710..a9d01e34 100644 --- a/src/buildtool/common/repository_config.hpp +++ b/src/buildtool/common/repository_config.hpp @@ -172,10 +172,7 @@ class RepositoryConfig { std::function<T const*(RepositoryInfo const&)> const& getter) const noexcept -> T const* { if (auto const* info = Info(repo)) { - try { // satisfy clang-tidy's bugprone-exception-escape - return getter(*info); - } catch (...) { - } + return getter(*info); } return nullptr; } |