Skip to content

Commit f538fa4

Browse files
Barnabás Domozibarnabasdomozi
authored andcommitted
[PythonParser] parse() string ref
1 parent a3c64cb commit f538fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/python/parser/src/pythonparser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ void PythonParser::processFile(const python::object& obj, PYNameMap& map, ParseR
173173

174174
bool PythonParser::parse()
175175
{
176-
for(std::string path : _ctx.options["input"].as<std::vector<std::string>>())
176+
for(const std::string& path : _ctx.options["input"].as<std::vector<std::string>>())
177177
{
178178
PythonParser::parseProject(path);
179179
}

0 commit comments

Comments
 (0)