Skip to content

Commit

Permalink
remove unneeded tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Hana Dusíková committed Sep 9, 2020
1 parent ec4bd97 commit 4fea9f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/ctre/evaluation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ template <typename Iterator, typename EndIterator, typename Pattern>
constexpr inline auto search_re(const Iterator begin, const EndIterator end, Pattern pattern) noexcept {
using return_type = decltype(regex_results(std::declval<Iterator>(), find_captures(pattern)));

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

auto it = begin;
for (; end != it && !fixed; ++it) {
Expand Down
2 changes: 1 addition & 1 deletion single-header/ctre.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3313,7 +3313,7 @@ template <typename Iterator, typename EndIterator, typename Pattern>
constexpr inline auto search_re(const Iterator begin, const EndIterator end, Pattern pattern) noexcept {
using return_type = decltype(regex_results(std::declval<Iterator>(), find_captures(pattern)));

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

auto it = begin;
for (; end != it && !fixed; ++it) {
Expand Down

0 comments on commit 4fea9f2

Please sign in to comment.