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: I50e60f2b1a9db9039cb5450ae509064eaeaa9d2e
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/sync_watch.cpp b/sync_watch.cpp
index ecf6cef..653a22d 100644
--- a/sync_watch.cpp
+++ b/sync_watch.cpp
@@ -22,8 +22,8 @@
void SyncWatch::addInotifyWatch(const fs::path& path)
{
- auto wd =
- inotify_add_watch(inotifyFd, path.c_str(), IN_CLOSE_WRITE | IN_DELETE);
+ auto wd = inotify_add_watch(inotifyFd, path.c_str(),
+ IN_CLOSE_WRITE | IN_DELETE);
if (-1 == wd)
{
error("inotify_add_watch on {PATH} failed: {ERRNO}", "ERRNO", errno,
@@ -114,8 +114,8 @@
}
// fileMap<wd, path>
- auto rc =
- syncWatch->syncCallback(event->mask, syncWatch->fileMap[event->wd]);
+ auto rc = syncWatch->syncCallback(event->mask,
+ syncWatch->fileMap[event->wd]);
if (rc)
{
return rc;