summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNan Zhou <nanzhoumails@gmail.com>2022-08-18 22:30:11 +0300
committerNan Zhou <nanzhoumails@gmail.com>2022-08-18 22:30:13 +0300
commit60a86d6c3d0d7afce431e7ae6b1299e7ea7cbb8c (patch)
tree298c3dddf8dc026ef0b71dc6842df0aeb4faebbd
parentae6883136bfb536788ac88cfa71e3d83865a362b (diff)
downloadbmcweb-60a86d6c3d0d7afce431e7ae6b1299e7ea7cbb8c.tar.xz
resource messages: make functions inline
clang14 complains about building this header. Tested: clang14 builds successfully. Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: Ib6be59babb0fdc9cc033385b4b71f1c9c88dfa44
-rw-r--r--redfish-core/include/resource_messages.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/include/resource_messages.hpp b/redfish-core/include/resource_messages.hpp
index e66ae6fc93..0b0773eb82 100644
--- a/redfish-core/include/resource_messages.hpp
+++ b/redfish-core/include/resource_messages.hpp
@@ -8,7 +8,7 @@ namespace redfish
namespace messages
{
-nlohmann::json
+inline nlohmann::json
getLogResourceEvent(redfish::registries::resource_event::Index name,
std::span<const std::string_view> args)
{