diff options
Diffstat (limited to 'src/commodity.cc')
-rw-r--r-- | src/commodity.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commodity.cc b/src/commodity.cc index 09e9deca..96846667 100644 --- a/src/commodity.cc +++ b/src/commodity.cc @@ -630,7 +630,7 @@ void annotation_t::parse(std::istream& in) throw_(amount_error, "Commodity price lacks closing brace"); amount_t temp; - temp.parse(buf, AMOUNT_PARSE_NO_MIGRATE); + temp.parse(buf, amount_t::PARSE_NO_MIGRATE); temp.in_place_reduce(); // Since this price will maintain its own precision, make sure |