Refactor: Cycles: Add const keyword to more function parameters

Pull Request: https://projects.blender.org/blender/blender/pulls/132361
This commit is contained in:
Brecht Van Lommel
2025-01-01 18:15:54 +01:00
parent dd51c8660b
commit 57ff24cb99
389 changed files with 3464 additions and 2900 deletions

View File

@@ -42,7 +42,7 @@ static void xml_read_float_array(T &value, xml_attribute attr)
}
}
void xml_read_node(XMLReader &reader, Node *node, xml_node xml_node)
void xml_read_node(XMLReader &reader, Node *node, const xml_node xml_node)
{
const xml_attribute name_attr = xml_node.attribute("name");
if (name_attr) {