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: I61b093f75011417cc9c7acf9605200f4fa429bac
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/common/utils.hpp b/common/utils.hpp
index 0efb89b..f1357db 100644
--- a/common/utils.hpp
+++ b/common/utils.hpp
@@ -41,8 +41,7 @@
CustomFD(CustomFD&&) = delete;
CustomFD& operator=(CustomFD&&) = delete;
- CustomFD(int fd) : fd(fd)
- {}
+ CustomFD(int fd) : fd(fd) {}
~CustomFD()
{
@@ -254,8 +253,8 @@
auto getDbusProperty(const char* objPath, const char* dbusProp,
const char* dbusInterface)
{
- auto VariantValue =
- getDbusPropertyVariant(objPath, dbusProp, dbusInterface);
+ auto VariantValue = getDbusPropertyVariant(objPath, dbusProp,
+ dbusInterface);
return std::get<Property>(VariantValue);
}