diff options
author | Ed Tanous <ed@tanous.net> | 2020-09-29 05:04:03 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2020-10-02 21:53:44 +0300 |
commit | 65176d3908b27393d81b72284dbebc47055e517c (patch) | |
tree | e018f5afdc8c805ebb2bf921c3d89e3f8d0cdde4 /redfish-core/include/resource_messages.hpp | |
parent | 7cd94e46a3b1eb9c60082ee3e2206b1cb0c964f5 (diff) | |
download | bmcweb-65176d3908b27393d81b72284dbebc47055e517c.tar.xz |
Remove redundant void from error messages
It's not neeeded.
Tested:
Code compiles. No functional changes.
Signed-off-by: Ed Tanous <ed@tanous.net>
Change-Id: I21588b8ca2bab4ddb65d9c6d910ba26db83c323b
Diffstat (limited to 'redfish-core/include/resource_messages.hpp')
-rw-r--r-- | redfish-core/include/resource_messages.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/redfish-core/include/resource_messages.hpp b/redfish-core/include/resource_messages.hpp index 17157fe250..95ace94f78 100644 --- a/redfish-core/include/resource_messages.hpp +++ b/redfish-core/include/resource_messages.hpp @@ -5,7 +5,7 @@ namespace redfish namespace messages { -inline nlohmann::json resourceChanged(void) +inline nlohmann::json resourceChanged() { return nlohmann::json{ {"EventType", "ResourceChanged"}, @@ -16,7 +16,7 @@ inline nlohmann::json resourceChanged(void) {"MessageSeverity", "OK"}}; } -inline nlohmann::json resourceCreated(void) +inline nlohmann::json resourceCreated() { return nlohmann::json{ {"EventType", "ResourceAdded"}, @@ -27,7 +27,7 @@ inline nlohmann::json resourceCreated(void) {"MessageSeverity", "OK"}}; } -inline nlohmann::json resourceRemoved(void) +inline nlohmann::json resourceRemoved() { return nlohmann::json{ {"EventType", "ResourceRemoved"}, |