Switch to side-by-side view
--- a/src/utils/smallut.cpp +++ b/src/utils/smallut.cpp @@ -1281,7 +1281,7 @@ } else { ok = false; } - matches.reserve(nmatch+1); + matches.resize(nmatch+1); } ~Internal() { regfree(&expr);
--- a/src/utils/smallut.cpp +++ b/src/utils/smallut.cpp @@ -1281,7 +1281,7 @@ } else { ok = false; } - matches.reserve(nmatch+1); + matches.resize(nmatch+1); } ~Internal() { regfree(&expr);