Skip to content

Commit 26b2579

Browse files
author
Hana Dusíková
committed
update single-header
1 parent fcf926f commit 26b2579

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

single-header/ctre-unicode.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4138,7 +4138,7 @@ constexpr CTRE_FORCE_INLINE R evaluate(const Iterator begin, Iterator current, c
41384138
}
41394139

41404140
// matching strings in patterns
4141-
template <auto... String, typename Iterator, typename EndIterator> constexpr CTRE_FORCE_INLINE bool match_string(Iterator & current, const EndIterator last, const flags & f) {
4141+
template <auto... String, typename Iterator, typename EndIterator> constexpr CTRE_FORCE_INLINE bool match_string([[maybe_unused]] Iterator & current, [[maybe_unused]] const EndIterator last, [[maybe_unused]] const flags & f) {
41424142
return ((current != last && character<String>::match_char(*current++, f)) && ... && true);
41434143
}
41444144

single-header/ctre.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4135,7 +4135,7 @@ constexpr CTRE_FORCE_INLINE R evaluate(const Iterator begin, Iterator current, c
41354135
}
41364136

41374137
// matching strings in patterns
4138-
template <auto... String, typename Iterator, typename EndIterator> constexpr CTRE_FORCE_INLINE bool match_string(Iterator & current, const EndIterator last, const flags & f) {
4138+
template <auto... String, typename Iterator, typename EndIterator> constexpr CTRE_FORCE_INLINE bool match_string([[maybe_unused]] Iterator & current, [[maybe_unused]] const EndIterator last, [[maybe_unused]] const flags & f) {
41394139
return ((current != last && character<String>::match_char(*current++, f)) && ... && true);
41404140
}
41414141

0 commit comments

Comments
 (0)