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: I267a17e007b99caed10aef060e7dd9a0bcc5fc2e
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/sensor.hpp b/sensor.hpp
index 1fd6a70..6f7aa59 100644
--- a/sensor.hpp
+++ b/sensor.hpp
@@ -4,13 +4,14 @@
#include "sensorset.hpp"
#include "types.hpp"
+#include <gpioplus/handle.hpp>
+#include <stdplus/handle/managed.hpp>
+
#include <cerrno>
#include <future>
-#include <gpioplus/handle.hpp>
#include <map>
#include <memory>
#include <optional>
-#include <stdplus/handle/managed.hpp>
#include <unordered_set>
namespace sensor
@@ -32,8 +33,7 @@
AsyncSensorReadTimeOut() :
system_error(std::error_code(ETIMEDOUT, std::system_category()),
"Async sensor read timed out")
- {
- }
+ {}
};
/** @class Sensor