From 248d02303212eb1b7b9a81757489a23af36546a8 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Tue, 4 Jan 2022 20:47:01 +0000 Subject: Make code compile with clang One minor shadowed variable that needed it's name changed, and a missing inline statement. Tested: Code now builds in clang-13 Signed-off-by: Ed Tanous Change-Id: I83b662a2818e1469dfeb29b818338346e40cb832 --- redfish-core/lib/trigger.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redfish-core/lib/trigger.hpp') diff --git a/redfish-core/lib/trigger.hpp b/redfish-core/lib/trigger.hpp index 210468c761..bb0a0e2ac3 100644 --- a/redfish-core/lib/trigger.hpp +++ b/redfish-core/lib/trigger.hpp @@ -137,7 +137,7 @@ inline std::optional return std::make_optional(thresholds); } -nlohmann::json +inline nlohmann::json getMetricReportDefinitions(const std::vector& reportNames) { nlohmann::json reports = nlohmann::json::array(); -- cgit v1.2.3