Fix unintentional copy

GCC (15?) prints a warning about it.
This commit is contained in:
Oliver Hamlet
2025-04-19 14:18:55 +01:00
parent 575e6d5c93
commit b8aa0ee66e
+1 -1
View File
@@ -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() + "\"");