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: I73acd9daf41b52bcc3f6af9a1c38c5f162ae76b2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/NVMeSensorMain.cpp b/src/NVMeSensorMain.cpp
index 237c37d..5287504 100644
--- a/src/NVMeSensorMain.cpp
+++ b/src/NVMeSensorMain.cpp
@@ -206,9 +206,9 @@
auto getter = std::make_shared<GetSensorConfiguration>(
dbusConnection, [&io, &objectServer, &dbusConnection](
const ManagedObjectType& sensorConfigurations) {
- handleSensorConfigurations(io, objectServer, dbusConnection,
- sensorConfigurations);
- });
+ handleSensorConfigurations(io, objectServer, dbusConnection,
+ sensorConfigurations);
+ });
getter->getConfiguration(std::vector<std::string>{NVMeSensor::sensorType});
}
@@ -291,7 +291,7 @@
std::string(inventoryPath) + "/'",
[](sdbusplus::message_t& msg) {
interfaceRemoved(msg, nvmeDeviceMap);
- });
+ });
setupManufacturingModeMatch(*systemBus);
io.run();