clang-format: copy latest and re-format
clang-format-16 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: Icbc50d46e84ee7ef756705e2b19741439a325074
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/sensors/host.cpp b/sensors/host.cpp
index b0e08b1..ae63896 100644
--- a/sensors/host.cpp
+++ b/sensors/host.cpp
@@ -38,8 +38,8 @@
sdbusplus::bus_t& bus,
const char* objPath, bool defer)
{
- auto sensor =
- std::make_unique<HostSensor>(name, timeout, bus, objPath, defer);
+ auto sensor = std::make_unique<HostSensor>(name, timeout, bus, objPath,
+ defer);
sensor->value(0);
// DegreesC and value of 0 are the defaults at present, therefore testing
diff --git a/sensors/host.hpp b/sensors/host.hpp
index efbc17d..83b9889 100644
--- a/sensors/host.hpp
+++ b/sensors/host.hpp
@@ -21,7 +21,6 @@
class ValueHelper : public ValueInterface
{
-
public:
auto operator()() const
{
diff --git a/sensors/sensor.hpp b/sensors/sensor.hpp
index f5f01c2..a135c50 100644
--- a/sensors/sensor.hpp
+++ b/sensors/sensor.hpp
@@ -31,8 +31,7 @@
_name(name), _timeout(timeout)
{}
- virtual ~Sensor()
- {}
+ virtual ~Sensor() {}
virtual ReadReturn read(void) = 0;
virtual void write(double value) = 0;