From c60d0059738eb49622dfe94e69d371856748ec18 Mon Sep 17 00:00:00 2001 From: mitchell Date: Sat, 5 May 2018 21:09:21 -0400 Subject: Backport: Make some changes recommended by clang-tidy. Backport of changeset 6687:4cbf987c7590. --- lexlib/PropSetSimple.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexlib/PropSetSimple.cxx') diff --git a/lexlib/PropSetSimple.cxx b/lexlib/PropSetSimple.cxx index e8f0364fa..ed473bc3b 100644 --- a/lexlib/PropSetSimple.cxx +++ b/lexlib/PropSetSimple.cxx @@ -100,7 +100,7 @@ struct VarChain { static int ExpandAllInPlace(const PropSetSimple &props, std::string &withVars, int maxExpands, const VarChain &blankVars) { size_t varStart = withVars.find("$("); while ((varStart != std::string::npos) && (maxExpands > 0)) { - const size_t varEnd = withVars.find(")", varStart+2); + const size_t varEnd = withVars.find(')', varStart+2); if (varEnd == std::string::npos) { break; } -- cgit v1.2.3