forked from boostorg/regex
Fix gcc -Wdeprecated-copy
This commit is contained in:
@ -50,6 +50,8 @@ class regex_iterator_implementation
|
|||||||
public:
|
public:
|
||||||
regex_iterator_implementation(const regex_type* p, BidirectionalIterator last, match_flag_type f)
|
regex_iterator_implementation(const regex_type* p, BidirectionalIterator last, match_flag_type f)
|
||||||
: base(), end(last), re(*p), flags(f){}
|
: base(), end(last), re(*p), flags(f){}
|
||||||
|
regex_iterator_implementation(const regex_iterator_implementation& other)
|
||||||
|
:what(other.what), base(other.base), end(other.end), re(other.re), flags(other.flags){}
|
||||||
bool init(BidirectionalIterator first)
|
bool init(BidirectionalIterator first)
|
||||||
{
|
{
|
||||||
base = first;
|
base = first;
|
||||||
|
Reference in New Issue
Block a user