Skip to content

Commit

Permalink
linting: fix linting errors reported by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousGeorgiy committed Jan 29, 2024
1 parent ccfdc8d commit 32d4186
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Utils/Traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
*/

#include <cstddef>
#include <iterator>
#include <functional>
#include <iterator>
#include <optional>
#include <tuple>
#include <type_traits>
Expand Down Expand Up @@ -639,7 +639,7 @@ template <class T>
constexpr bool is_uni_member_ptr_v =
std::is_member_object_pointer_v<uni_integral_base_t<T>>;

struct empty_type {
struct empty_type final {
constexpr empty_type() noexcept = default;
constexpr empty_type(std::nullptr_t) noexcept {}
constexpr empty_type(std::monostate) noexcept {}
Expand Down
3 changes: 1 addition & 2 deletions src/mpp/Dec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ constexpr auto detectFamily()
return family_sequence<compact::MP_MAP>{};
else
return family_sequence<compact::MP_ARR>{};
} else if constexpr (is_any_putable_v<U> ||
tnt::is_contiguous_v<U>) {
} else if constexpr (is_any_putable_v<U> || tnt::is_contiguous_v<U>) {
if constexpr (tnt::is_pairish_v<tnt::value_type_t<U>>)
return family_sequence<compact::MP_MAP>{};
else
Expand Down

0 comments on commit 32d4186

Please sign in to comment.