Skip to content

Commit cbafa76

Browse files
fix: add missing initializing argument
1 parent a435b95 commit cbafa76

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2124,7 +2124,9 @@ int main(int argc, char* argv[]) {
21242124

21252125

21262126
std::vector<int> pids;
2127-
pids.push_back(pid); // function requires it to be a list even if only 1 is passed
2127+
std::vector<std::string> trash;
2128+
trash.push_back(""):
2129+
pids.push_back(pid, trash); // function requires it to be a list even if only 1 is passed
21282130

21292131
PIDinspect({static_cast<DWORD>(pids)});
21302132
} else {

0 commit comments

Comments
 (0)