Commit daee0f69 authored by Robert Maynard's avatar Robert Maynard

Initialize uses emplace_back when building unparsed args

parent 963ccf98
......@@ -199,7 +199,7 @@ InitializeResult Initialize(int& argc, char* argv[], InitializeOptions opts)
for (int i = 0; i < parse.nonOptionsCount(); i++)
{
config.Arguments.push_back(std::string(parse.nonOption(i)));
config.Arguments.emplace_back(parse.nonOption(i));
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment