Only the first one needs to call the base class during construction

This commit is contained in:
Alfonso Gregory 2021-07-14 17:13:01 -04:00 committed by GitHub
commit 45374979b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ bool UnitConverter::CheckLoad()
{ {
if (m_categories.empty()) if (m_categories.empty())
{ {
UnitConverter::ResetCategoriesAndRatios(); ResetCategoriesAndRatios();
} }
return !m_categories.empty(); return !m_categories.empty();
} }