Fix gcc -Wdeprecated-copy

This commit is contained in:
Laurent Stacul
2019-03-01 08:36:15 +00:00
parent 252876ff5a
commit ac03c4fecc

View File

@ -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;