Skip to content

Commit 4a5dbd5

Browse files
authored
[lldb-dap][NFC] avoid copy in launch process (#164243)
1 parent 2ec549a commit 4a5dbd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/lldb-dap/Handler/RequestHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ void BaseRequestHandler::Run(const Request &request) {
181181

182182
llvm::Error BaseRequestHandler::LaunchProcess(
183183
const protocol::LaunchRequestArguments &arguments) const {
184-
auto launchCommands = arguments.launchCommands;
184+
const std::vector<std::string> &launchCommands = arguments.launchCommands;
185185

186186
// Instantiate a launch info instance for the target.
187187
auto launch_info = dap.target.GetLaunchInfo();

0 commit comments

Comments
 (0)