mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
Only the first one needs to call the base class during construction
This commit is contained in:
parent
0cec5f2a0b
commit
45374979b2
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue