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: I44441096113929ce96eb1439e2932e6ff3c87f27
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/include/ipmid/utility.hpp b/include/ipmid/utility.hpp
index 0c39e92..a3f306f 100644
--- a/include/ipmid/utility.hpp
+++ b/include/ipmid/utility.hpp
@@ -16,6 +16,7 @@
#pragma once
#include <boost/asio/spawn.hpp>
#include <boost/callable_traits.hpp>
+
#include <cstdint>
#include <map>
#include <memory>
@@ -46,10 +47,9 @@
struct StripFirstArgs;
template <std::size_t N, typename FirstArg, typename... Rest>
-struct StripFirstArgs<N, std::tuple<FirstArg, Rest...>>
- : StripFirstArgs<N - 1, std::tuple<Rest...>>
-{
-};
+struct StripFirstArgs<N, std::tuple<FirstArg, Rest...>> :
+ StripFirstArgs<N - 1, std::tuple<Rest...>>
+{};
template <typename FirstArg, typename... Rest>
struct StripFirstArgs<0, std::tuple<FirstArg, Rest...>>
@@ -206,20 +206,17 @@
*/
template <typename>
struct is_tuple : std::false_type
-{
-};
+{};
template <typename... T>
struct is_tuple<std::tuple<T...>> : std::true_type
-{
-};
+{};
/** @brief used for static_assert in a constexpr-if else statement
*/
template <typename T>
struct dependent_false : std::false_type
-{
-};
+{};
} // namespace utility