fix(ui): improve const correctness across xml loading functions in ui

This commit is contained in:
fallenoak committed 2025-12-23 22:19:45 -06:00
1 parent d51ea7e0e0
commit 6732199eab
34 files changed
+76 -76

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ int32_t CSimpleCheckbox::GetChecked() {
return this->m_checked;
}
void CSimpleCheckbox::LoadXML(XMLNode* node, CStatus* status) {
void CSimpleCheckbox::LoadXML(const XMLNode* node, CStatus* status) {
CSimpleButton::LoadXML(node, status);
auto checkedAttr = node->GetAttributeByName("checked");