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