summaryrefslogtreecommitdiff
path: root/boost/regex/v4/perl_matcher.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/regex/v4/perl_matcher.hpp')
-rw-r--r--boost/regex/v4/perl_matcher.hpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/boost/regex/v4/perl_matcher.hpp b/boost/regex/v4/perl_matcher.hpp
index 0a37a84a6..b7b3b58e6 100644
--- a/boost/regex/v4/perl_matcher.hpp
+++ b/boost/regex/v4/perl_matcher.hpp
@@ -254,13 +254,8 @@ class repeater_count
std::size_t count; // the number of iterations so far
BidiIterator start_pos; // where the last repeat started
public:
- repeater_count(repeater_count** s)
- {
- stack = s;
- next = 0;
- state_id = -1;
- count = 0;
- }
+ repeater_count(repeater_count** s) : stack(s), next(0), state_id(-1), count(0), start_pos() {}
+
repeater_count(int i, repeater_count** s, BidiIterator start)
: start_pos(start)
{