diff options
author | Zufu Liu <unknown> | 2019-01-06 12:06:48 +1100 |
---|---|---|
committer | Zufu Liu <unknown> | 2019-01-06 12:06:48 +1100 |
commit | 5476eada003a1fbc182676c625b767efb2c16e6f (patch) | |
tree | aa2d89bf5f61cb359c8ff4a5b2dd14968965e50c /lexlib/PropSetSimple.cxx | |
parent | 2e794b1ef52cb04e93f65906a266095bc8eae4f6 (diff) | |
download | scintilla-mirror-5476eada003a1fbc182676c625b767efb2c16e6f.tar.gz |
Bug [#2068]. Fix some clang-tidy warnings.
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 ba76019be..5ce353c71 100644 --- a/lexlib/PropSetSimple.cxx +++ b/lexlib/PropSetSimple.cxx @@ -117,7 +117,7 @@ static int ExpandAllInPlace(const PropSetSimple &props, std::string &withVars, i innerVarStart = withVars.find("$(", varStart+2); } - std::string var(withVars.c_str(), varStart + 2, varEnd - varStart - 2); + std::string var(withVars, varStart + 2, varEnd - varStart - 2); std::string val = props.Get(var.c_str()); if (blankVars.contains(var.c_str())) { |