summaryrefslogtreecommitdiff
path: root/redfish-core/include/resource_messages.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/include/resource_messages.hpp')
-rw-r--r--redfish-core/include/resource_messages.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/redfish-core/include/resource_messages.hpp b/redfish-core/include/resource_messages.hpp
index 4ff1c86967..9826566e27 100644
--- a/redfish-core/include/resource_messages.hpp
+++ b/redfish-core/include/resource_messages.hpp
@@ -5,7 +5,7 @@ namespace redfish
namespace messages
{
-nlohmann::json ResourceChanged(void)
+inline nlohmann::json ResourceChanged(void)
{
return nlohmann::json{
{"EventType", "ResourceChanged"},
@@ -16,7 +16,7 @@ nlohmann::json ResourceChanged(void)
{"MessageSeverity", "OK"}};
}
-nlohmann::json ResourceCreated(void)
+inline nlohmann::json ResourceCreated(void)
{
return nlohmann::json{
{"EventType", "ResourceAdded"},
@@ -27,7 +27,7 @@ nlohmann::json ResourceCreated(void)
{"MessageSeverity", "OK"}};
}
-nlohmann::json ResourceRemoved(void)
+inline nlohmann::json ResourceRemoved(void)
{
return nlohmann::json{
{"EventType", "ResourceRemoved"},