Change syntax: add brackets to condition block

This commit is contained in:
Ervin Hegedus 2025-07-27 17:06:12 +02:00
parent bb70ff06a4
commit 7e3c807c0d
No known key found for this signature in database
GPG Key ID: 5FA5BC3F5EC41F61

View File

@ -88,7 +88,9 @@ public:
ConfigValue() = default;
void merge(const ConfigValue<T>* from) {
if (m_set || !from->m_set) return;
if (m_set || !from->m_set) {
return;
}
m_set = true;
m_value = from->m_value;
}