mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-14 10:36:50 -07:00
Push back if the vector is a whimsical (#1062)
This commit is contained in:
parent
814473f4d6
commit
880072016f
1 changed files with 3 additions and 3 deletions
|
@ -618,10 +618,10 @@ vector<tuple<wstring, Unit>> UnitConverter::CalculateSuggested()
|
|||
newEntry.magnitude = log10(convertedValue);
|
||||
newEntry.value = convertedValue;
|
||||
newEntry.type = cur.first;
|
||||
if (newEntry.type.isWhimsical == false)
|
||||
intermediateVector.push_back(newEntry);
|
||||
else
|
||||
if (newEntry.type.isWhimsical)
|
||||
intermediateWhimsicalVector.push_back(newEntry);
|
||||
else
|
||||
intermediateVector.push_back(newEntry);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue