mirror of
https://github.com/boostorg/regex.git
synced 2025-07-17 06:12:10 +02:00
Initialize all members in initializer list, see https://github.com/boostorg/regex/pull/6
This commit is contained in:
@ -254,13 +254,8 @@ class repeater_count
|
|||||||
std::size_t count; // the number of iterations so far
|
std::size_t count; // the number of iterations so far
|
||||||
BidiIterator start_pos; // where the last repeat started
|
BidiIterator start_pos; // where the last repeat started
|
||||||
public:
|
public:
|
||||||
repeater_count(repeater_count** s)
|
repeater_count(repeater_count** s) : stack(s), next(0), state_id(-1), count(0), start_pos() {}
|
||||||
{
|
|
||||||
stack = s;
|
|
||||||
next = 0;
|
|
||||||
state_id = -1;
|
|
||||||
count = 0;
|
|
||||||
}
|
|
||||||
repeater_count(int i, repeater_count** s, BidiIterator start)
|
repeater_count(int i, repeater_count** s, BidiIterator start)
|
||||||
: start_pos(start)
|
: start_pos(start)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user