diff --git a/lldb/source/Host/windows/ProcessLauncherWindows.cpp b/lldb/source/Host/windows/ProcessLauncherWindows.cpp index 3f5c637a5a34..b74308264fe6 100644 --- a/lldb/source/Host/windows/ProcessLauncherWindows.cpp +++ b/lldb/source/Host/windows/ProcessLauncherWindows.cpp @@ -46,7 +46,7 @@ bool GetFlattenedWindowsCommandString(Args args, std::string &command) { std::vector args_ref; for (auto &entry : args.entries()) - args_ref.push_back(entry.ref); + args_ref.push_back(entry.ref()); command = llvm::sys::flattenWindowsCommandLine(args_ref); return true;