From c21055aa7ad7f252e663535ec36b56a29bf0eb6a Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Mon, 16 Sep 2019 16:41:22 -0700 Subject: Remove a lame clang-format off Code was tabbed into the wrong spot as a result of shutting clang-format off for a dubious reason. Turn it back on. Tested: It builds. Only whitespace changes present Signed-off-by: Ed Tanous Change-Id: I08b294ca5ea076f8cb5680b801b507127e091824 --- redfish-core/src/error_messages.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/redfish-core/src/error_messages.cpp b/redfish-core/src/error_messages.cpp index 51871bf01a..ca998705f9 100644 --- a/redfish-core/src/error_messages.cpp +++ b/redfish-core/src/error_messages.cpp @@ -47,12 +47,8 @@ static void addMessageToErrorJson(nlohmann::json& target, << "Attempt to add error message without Message"; return; } - // clang-format off - error = { - {"code", *messageIdIterator}, - {"message", *messageFieldIterator} - }; - // clang-format on + error = {{"code", *messageIdIterator}, + {"message", *messageFieldIterator}}; } else { -- cgit v1.2.3