sculpt_manager: fix build errors with '-std=gnu++20'

Fixes #4874
This commit is contained in:
Norman Feske 2023-05-15 09:45:13 +02:00 committed by Christian Helmuth
parent 2383d802ba
commit 81e85bf1b5

View File

@ -154,8 +154,8 @@ struct Sculpt::Component : Noncopyable
ram = runtime.attribute_value("ram", Number_of_bytes());
caps = runtime.attribute_value("caps", 0UL);
runtime.with_optional_sub_node("requires", [&] (Xml_node requires) {
_update_routes_from_xml(requires); });
runtime.with_optional_sub_node("requires", [&] (Xml_node const &req) {
_update_routes_from_xml(req); });
});
blueprint_info = {