mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kunitconversion: avoid temporary in KUnitConversion::Currency::convert()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9d785124c6
commit
63ed5b9f3c
1 changed files with 1 additions and 2 deletions
|
@ -589,6 +589,5 @@ Value Currency::convert(const Value& value, UnitPtr to)
|
|||
}
|
||||
}
|
||||
}
|
||||
Value v = UnitCategory::convert(value, to);
|
||||
return v;
|
||||
return UnitCategory::convert(value, to);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue