Skip to content

Commit 4fea9f2

Browse files
author
Hana Dusíková
committed
remove unneeded tag
1 parent ec4bd97 commit 4fea9f2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/ctre/evaluation.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ template <typename Iterator, typename EndIterator, typename Pattern>
5454
constexpr inline auto search_re(const Iterator begin, const EndIterator end, Pattern pattern) noexcept {
5555
using return_type = decltype(regex_results(std::declval<Iterator>(), find_captures(pattern)));
5656

57-
[[maybe_unused]] constexpr bool fixed = starts_with_anchor(ctll::list<Pattern>{});
57+
constexpr bool fixed = starts_with_anchor(ctll::list<Pattern>{});
5858

5959
auto it = begin;
6060
for (; end != it && !fixed; ++it) {

single-header/ctre.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3313,7 +3313,7 @@ template <typename Iterator, typename EndIterator, typename Pattern>
33133313
constexpr inline auto search_re(const Iterator begin, const EndIterator end, Pattern pattern) noexcept {
33143314
using return_type = decltype(regex_results(std::declval<Iterator>(), find_captures(pattern)));
33153315

3316-
[[maybe_unused]] constexpr bool fixed = starts_with_anchor(ctll::list<Pattern>{});
3316+
constexpr bool fixed = starts_with_anchor(ctll::list<Pattern>{});
33173317

33183318
auto it = begin;
33193319
for (; end != it && !fixed; ++it) {

0 commit comments

Comments
 (0)