Take iterators by const-ref in ThreadedRegexVM::exec
This commit is contained in:
parent
d2f2c3d0c7
commit
0b9f782691
|
@ -184,8 +184,8 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
bool exec(Iterator begin, Iterator end,
|
||||
Iterator subject_begin, Iterator subject_end,
|
||||
bool exec(const Iterator& begin, const Iterator& end,
|
||||
const Iterator& subject_begin, const Iterator& subject_end,
|
||||
RegexExecFlags flags)
|
||||
{
|
||||
if (flags & RegexExecFlags::NotInitialNull and begin == end)
|
||||
|
|
Loading…
Reference in New Issue
Block a user