Skip to content

Commit

Permalink
[lldb/Host] Fix the Windows build
Browse files Browse the repository at this point in the history
Update use of ProcessInstanceInfoList which is now a std::vector.
  • Loading branch information
JDevlieghere committed Mar 12, 2020
1 parent b0f1a4e commit 2411f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/source/Host/windows/Host.cpp
Expand Up @@ -133,7 +133,7 @@ FileSpec Host::GetModuleFileSpecForHostAddress(const void *host_addr) {

uint32_t Host::FindProcesses(const ProcessInstanceInfoMatch &match_info,
ProcessInstanceInfoList &process_infos) {
process_infos.Clear();
process_infos.clear();

AutoHandle snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0));
if (!snapshot.IsValid())
Expand Down

0 comments on commit 2411f56

Please sign in to comment.