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: I6bbb587615b9d6f158900201ca04a647cb3a8f96
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/fd/ops.cpp b/src/fd/ops.cpp
index d47dbb3..e8f3636 100644
--- a/src/fd/ops.cpp
+++ b/src/fd/ops.cpp
@@ -1,6 +1,8 @@
#include <fmt/format.h>
+
#include <stdplus/exception.hpp>
#include <stdplus/fd/ops.hpp>
+
#include <utility>
namespace stdplus
@@ -54,8 +56,8 @@
std::span<Byte> ret;
do
{
- auto r =
- (fd.*fun)(data.subspan(ret.size()), std::forward<Args>(args)...);
+ auto r = (fd.*fun)(data.subspan(ret.size()),
+ std::forward<Args>(args)...);
if (ret.size() != 0 && r.size() == 0)
{
throw exception::WouldBlock(