broker/Manager: Move name in PublishEvent()

This commit is contained in:
Arne Welzel 2025-01-17 16:57:52 +01:00
parent ebdbbb5063
commit 24ee115bbc

View file

@ -558,7 +558,7 @@ bool Manager::DoPublishEvent(const std::string& topic, const cluster::detail::Ev
}
std::string name(event.HandlerName());
return PublishEvent(topic, name, std::move(xs), event.timestamp);
return PublishEvent(topic, std::move(name), std::move(xs), event.timestamp);
}
bool Manager::PublishEvent(string topic, std::string name, broker::vector args, double ts) {