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/buildtool/common/action_description.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/common/action_description.hpp') diff --git a/src/buildtool/common/action_description.hpp b/src/buildtool/common/action_description.hpp index f4756688..e51552ad 100644 --- a/src/buildtool/common/action_description.hpp +++ b/src/buildtool/common/action_description.hpp @@ -196,7 +196,7 @@ class ActionDescription { return action_.Id(); } - [[nodiscard]] auto ToJson() const noexcept -> nlohmann::json { + [[nodiscard]] auto ToJson() const -> nlohmann::json { auto json = nlohmann::json{{"command", action_.Command()}}; if (not output_files_.empty()) { json["output"] = output_files_; -- cgit v1.2.3