Skip to content

Commit bf2ee65

Browse files
author
Hana Dusíková
committed
update single-header
1 parent 53b47f3 commit bf2ee65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

single-header/ctre.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2765,12 +2765,12 @@ constexpr auto first(ctll::list<Content...>, ctll::list<any, Tail...>) noexcept
27652765

27662766
// negative
27672767
template <typename... Content, typename... SetContent, typename... Tail>
2768-
constexpr auto first(ctll::list<Content...> l, ctll::list<negate<SetContent...>, Tail...>) noexcept {
2768+
constexpr auto first(ctll::list<Content...>, ctll::list<negate<SetContent...>, Tail...>) noexcept {
27692769
return ctll::list<Content..., negative_set<SetContent...>>{};
27702770
}
27712771

27722772
template <typename... Content, typename... SetContent, typename... Tail>
2773-
constexpr auto first(ctll::list<Content...> l, ctll::list<negative_set<SetContent...>, Tail...>) noexcept {
2773+
constexpr auto first(ctll::list<Content...>, ctll::list<negative_set<SetContent...>, Tail...>) noexcept {
27742774
return ctll::list<Content..., negative_set<SetContent...>>{};
27752775
}
27762776

@@ -2827,7 +2827,7 @@ template <auto Head, auto... Tail, typename CB> constexpr int64_t negative_helpe
28272827
return negative_helper(ctre::enumeration<Tail...>{}, cb, nstart);
28282828
}
28292829

2830-
template <typename CB> constexpr int64_t negative_helper(ctre::enumeration<>, CB & cb, int64_t start) {
2830+
template <typename CB> constexpr int64_t negative_helper(ctre::enumeration<>, CB &, int64_t start) {
28312831
return start;
28322832
}
28332833

0 commit comments

Comments
 (0)