clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I2f9540cf0d545a2da4d6289fc87b754f684bc9a7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/redfish-core/lib/memory.hpp b/redfish-core/lib/memory.hpp
index 45a3789..58d51786 100644
--- a/redfish-core/lib/memory.hpp
+++ b/redfish-core/lib/memory.hpp
@@ -627,7 +627,7 @@
return;
}
assembleDimmProperties(dimmId, asyncResp, properties, ""_json_pointer);
- });
+ });
}
inline void assembleDimmPartitionData(
@@ -702,7 +702,7 @@
}
nlohmann::json::json_pointer regionPtr = "/Regions"_json_pointer;
assembleDimmPartitionData(asyncResp, properties, regionPtr);
- }
+ }
);
}
@@ -768,7 +768,7 @@
asyncResp->res.jsonValue["@odata.id"] =
boost::urls::format("/redfish/v1/Systems/system/Memory/{}", dimmId);
return;
- });
+ });
}
inline void requestRoutesMemoryCollection(App& app)
@@ -811,7 +811,7 @@
collection_util::getCollectionMembers(
asyncResp, boost::urls::url("/redfish/v1/Systems/system/Memory"),
interfaces, "/xyz/openbmc_project/inventory");
- });
+ });
}
inline void requestRoutesMemory(App& app)
@@ -846,7 +846,7 @@
}
getDimmData(asyncResp, dimmId);
- });
+ });
}
} // namespace redfish