Add missing std::pair template arguments.

This commit is contained in:
James Molson 2019-05-28 16:47:29 +02:00 committed by Laurence
parent 1112a3483d
commit a6dd2fd33b
1 changed files with 1 additions and 1 deletions

View File

@ -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");