Use of auto that causes a copy
Unnecessary object copies can affect performance. Using the auto keyword without an & causes a copy.
/data/mci/7b5199136d945ea4e1751b7b3bd3d384/bazel_cache/658afbbc91b088dd7e554f8eea998579/execroot/_main/src/mongo/util/net/ssl_manager_openssl.cpp:3262: AUTO_CAUSES_COPY 175497 Using the "auto" keyword without an "&" causes the copy of an object of type "std::set<mongo::RoleName, std::less<mongo::RoleName>, std::allocator<mongo::RoleName> >".
/data/mci/7b5199136d945ea4e1751b7b3bd3d384/bazel_cache/658afbbc91b088dd7e554f8eea998579/execroot/_main/src/mongo/util/net/ssl_manager_openssl.cpp:3262: AUTO_CAUSES_COPY 175497 The variable "allowedRoles" has a non-"const" type, however its value is never changed.