mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix unintentional copy
GCC (15?) prints a warning about it.
This commit is contained in:
@@ -180,7 +180,7 @@ std::unordered_map<std::string, std::vector<vertex_t>> GetGroupsPlugins(
|
||||
const auto logger = getLogger();
|
||||
if (logger && logger->should_log(spdlog::level::debug)) {
|
||||
logger->debug("Found the following plugins in groups:");
|
||||
for (const auto [key, value] : groupsPlugins) {
|
||||
for (const auto& [key, value] : groupsPlugins) {
|
||||
std::vector<std::string> pluginNames;
|
||||
for (const auto vertex : value) {
|
||||
pluginNames.push_back("\"" + graph.GetPlugin(vertex).GetName() + "\"");
|
||||
|
||||
Reference in New Issue
Block a user