Skip to content

Commit 5c38177

Browse files
author
Hana Dusíková
committed
fix for clang 7
1 parent b365cb6 commit 5c38177

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

include/ctre/first.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,8 @@ template <size_t Capacity> class point_set {
430430
return collision;
431431
}
432432
template <auto... V> constexpr bool check(ctre::enumeration<V...>) {
433-
return (check(character<V>{}) || ... || false);
433+
434+
return (check(V,V) || ... || false);
434435
}
435436
template <typename... Content> constexpr bool check(ctll::list<Content...>) {
436437
return (check(Content{}) || ... || false);

single-header/ctre.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2960,7 +2960,8 @@ template <size_t Capacity> class point_set {
29602960
return collision;
29612961
}
29622962
template <auto... V> constexpr bool check(ctre::enumeration<V...>) {
2963-
return (check(character<V>{}) || ... || false);
2963+
2964+
return (check(V,V) || ... || false);
29642965
}
29652966
template <typename... Content> constexpr bool check(ctll::list<Content...>) {
29662967
return (check(Content{}) || ... || false);

0 commit comments

Comments
 (0)