Skip to content

Commit

Permalink
fix(example): fixing compilation after the previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Nov 9, 2023
1 parent fe15572 commit dc4d73a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/currency.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ int main()
{
using namespace unit_symbols;

quantity_point price_usd = zero<currency> + 100 * USD;
quantity_point price_usd = zero + 100 * USD;
quantity_point price_euro = exchange_to<euro>(price_usd);

std::cout << price_usd.quantity_from(zero) << " -> " << price_euro.quantity_from(zero) << "\n";
Expand Down

0 comments on commit dc4d73a

Please sign in to comment.