mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
Make it clear which Reset we are using
This commit is contained in:
parent
afaee0f4ae
commit
0cec5f2a0b
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ UnitConverter::UnitConverter(_In_ const shared_ptr<IConverterDataLoader>& dataLo
|
|||
unquoteConversions[L"{lb}"] = LEFTESCAPECHAR;
|
||||
unquoteConversions[L"{rb}"] = RIGHTESCAPECHAR;
|
||||
ClearValues();
|
||||
ResetCategoriesAndRatios();
|
||||
UnitConverter::ResetCategoriesAndRatios();
|
||||
}
|
||||
|
||||
void UnitConverter::Initialize()
|
||||
|
@ -78,7 +78,7 @@ bool UnitConverter::CheckLoad()
|
|||
{
|
||||
if (m_categories.empty())
|
||||
{
|
||||
ResetCategoriesAndRatios();
|
||||
UnitConverter::ResetCategoriesAndRatios();
|
||||
}
|
||||
return !m_categories.empty();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue