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: Ifd063d23c038d986d916148051e0a261b5ba1fca
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/vpd-manager/manager.cpp b/vpd-manager/manager.cpp
index 50c4b90..4d0b1d7 100644
--- a/vpd-manager/manager.cpp
+++ b/vpd-manager/manager.cpp
@@ -44,41 +44,40 @@
const std::string& recordName, const std::string& keyword,
const Binary& value) {
this->writeKeyword(path, recordName, keyword, value);
- });
+ });
interface->register_method(
"GetFRUsByUnexpandedLocationCode",
[this](const std::string& locationCode,
const uint16_t nodeNumber) -> inventory::ListOfPaths {
- return this->getFRUsByUnexpandedLocationCode(locationCode,
- nodeNumber);
- });
+ return this->getFRUsByUnexpandedLocationCode(locationCode, nodeNumber);
+ });
interface->register_method(
"GetFRUsByExpandedLocationCode",
[this](const std::string& locationCode) -> inventory::ListOfPaths {
- return this->getFRUsByExpandedLocationCode(locationCode);
- });
+ return this->getFRUsByExpandedLocationCode(locationCode);
+ });
interface->register_method(
"GetExpandedLocationCode",
[this](const std::string& locationCode,
const uint16_t nodeNumber) -> std::string {
- return this->getExpandedLocationCode(locationCode, nodeNumber);
- });
+ return this->getExpandedLocationCode(locationCode, nodeNumber);
+ });
interface->register_method("PerformVPDRecollection",
[this]() { this->performVPDRecollection(); });
interface->register_method(
"deleteFRUVPD", [this](const sdbusplus::message::object_path& path) {
- this->deleteFRUVPD(path);
- });
+ this->deleteFRUVPD(path);
+ });
interface->register_method(
"CollectFRUVPD", [this](const sdbusplus::message::object_path& path) {
- this->collectFRUVPD(path);
- });
+ this->collectFRUVPD(path);
+ });
sd_bus_default(&sdBus);
initManager();