mirror of https://github.com/BOINC/boinc.git
Merge pull request #3215 from BOINC/pr_3179_template_args
Add missing std::pair template arguments.
This commit is contained in:
commit
b0ecee8189
|
@ -218,7 +218,7 @@ int procinfo_setup(PROC_MAP& pm) {
|
|||
}
|
||||
fclose(fd);
|
||||
p.is_boinc_app = (p.id == pid || strcasestr(p.command, "boinc"));
|
||||
pm.insert(std::pair(p.id, p));
|
||||
pm.insert(std::pair<int, PROCINFO>(p.id, p));
|
||||
#else // linux
|
||||
sprintf(pidpath, "/proc/%s/stat", piddir->d_name);
|
||||
fd = fopen(pidpath, "r");
|
||||
|
|
Loading…
Reference in New Issue