From cc0af579fe23e74cce1fdc41ab53895cb18e396a Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Sat, 14 Apr 2018 09:18:35 +1000 Subject: Make some changes recommended by clang-tidy. --- 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