mirror of
https://github.com/boostorg/regex.git
synced 2025-07-16 13:52:17 +02:00
Merge pull request #79 from stac47/fix_deprecated_copy
Fix gcc -Wdeprecated-copy
This commit is contained in:
@ -50,6 +50,8 @@ class regex_iterator_implementation
|
||||
public:
|
||||
regex_iterator_implementation(const regex_type* p, BidirectionalIterator last, match_flag_type 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)
|
||||
{
|
||||
base = first;
|
||||
|
Reference in New Issue
Block a user