Merge pull request #3215 from BOINC/pr_3179_template_args

Add missing std::pair template arguments.
This commit is contained in:
Uplinger 2019-08-07 16:31:42 -05:00 committed by GitHub
commit b0ecee8189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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");