From 15ce11b594f7a960f6382a043bf2ccb20c7b423e Mon Sep 17 00:00:00 2001 From: hvellyr Date: Wed, 25 May 2016 09:20:17 +0200 Subject: [PATCH] Fix compiler warning about missing "name" parameter --- peglib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peglib.h b/peglib.h index 607b871..16a6c72 100644 --- a/peglib.h +++ b/peglib.h @@ -2746,7 +2746,7 @@ private: m_.matches.clear(); size_t 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; } else { pos_ = (std::numeric_limits::max)();