Skip to content

Commit a4a6dbf

Browse files
author
Hana Dusíková
committed
removing unused template parameter (MSVC compatibility and potential bug)
1 parent d607d03 commit a4a6dbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/ctre/actions/capture.inc.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ template <auto V, typename... Content, typename... Ts, size_t Counter> static co
1010
return pcre_context{ctll::push_front(capture<Counter+1, Content...>(), ctll::list<Ts...>()), pcre_parameters<Counter+1>()};
1111
}
1212
// push_name
13-
template <auto V, typename... Content, typename... Ts, typename Parameters> static constexpr auto apply(pcre::push_name, ctll::term<V>, pcre_context<ctll::list<Ts...>, Parameters> subject) {
13+
template <auto V, typename... Ts, typename Parameters> static constexpr auto apply(pcre::push_name, ctll::term<V>, pcre_context<ctll::list<Ts...>, Parameters> subject) {
1414
return pcre_context{ctll::push_front(id<V>(), subject.stack), subject.parameters};
1515
}
1616
// push_name (concat)
17-
template <auto... Str, auto V, typename... Content, typename... Ts, typename Parameters> static constexpr auto apply(pcre::push_name, ctll::term<V>, pcre_context<ctll::list<id<Str...>, Ts...>, Parameters> subject) {
17+
template <auto... Str, auto V, typename... Ts, typename Parameters> static constexpr auto apply(pcre::push_name, ctll::term<V>, pcre_context<ctll::list<id<Str...>, Ts...>, Parameters> subject) {
1818
return pcre_context{ctll::push_front(id<Str..., V>(), ctll::list<Ts...>()), subject.parameters};
1919
}
2020
// capture with name

0 commit comments

Comments
 (0)