Push back if the vector is a whimsical (#1062)
This commit is contained in:
parent
814473f4d6
commit
880072016f
@ -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…
Reference in New Issue
Block a user