Fix compiler warning about missing "name" parameter

This commit is contained in:
hvellyr 2016-05-25 09:20:17 +02:00 committed by gck
parent 2b2b171cbd
commit 15ce11b594

View File

@ -2746,7 +2746,7 @@ private:
m_.matches.clear(); m_.matches.clear();
size_t mpos, mlen; size_t mpos, mlen;
if (peg_.search(s_ + pos_, l_ - pos_, mpos, mlen)) { if (peg_.search(s_ + pos_, l_ - pos_, mpos, mlen)) {
m_.matches.insert(m_.matches.begin(), match::Item{ s_ + mpos, mlen, 0 }); m_.matches.insert(m_.matches.begin(), match::Item{ s_ + mpos, mlen, 0, std::string() });
pos_ += mpos + mlen; pos_ += mpos + mlen;
} else { } else {
pos_ = (std::numeric_limits<size_t>::max)(); pos_ = (std::numeric_limits<size_t>::max)();