commit 99b1fa9686bbf0fcd46a8d86f7c63795ca7406f9 from: Markus Uhlin date: Tue Nov 18 19:03:29 2025 UTC Usage of emplace_back() commit - dbe87ff772a3aea31757f336f2bfe9ff4bc53973 commit + 99b1fa9686bbf0fcd46a8d86f7c63795ca7406f9 blob - 52c663958862fca927a00c44472dc10974d9dc00 blob + 0e74eed5202111e8423490891857eb8e593101e6 --- FICS/addgroup.cpp +++ FICS/addgroup.cpp @@ -193,7 +193,11 @@ read_the_group_permissions_file(const char *path) } struct group_info group(token[0], token[1], gid, token[3]); +#if defined(__cplusplus) && __cplusplus >= 201103L + groups.emplace_back(group); +#else groups.push_back(group); +#endif } if (feof(fp))