diff options
Diffstat (limited to 'lexlib/PropSetSimple.cxx')
-rw-r--r-- | lexlib/PropSetSimple.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/PropSetSimple.cxx b/lexlib/PropSetSimple.cxx index 715009a5b..e8f0364fa 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)) { - size_t varEnd = withVars.find(")", varStart+2); + const size_t varEnd = withVars.find(")", varStart+2); if (varEnd == std::string::npos) { break; } |