[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] valyuta/002 18ab8be 5/5: Oops
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] valyuta/002 18ab8be 5/5: Oops |
Date: |
Sun, 20 Sep 2020 12:55:18 -0400 (EDT) |
branch: valyuta/002
commit 18ab8be8c992ea32acbefd2ea2e144ee1458cbb6
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Oops
(I'd normally `git rebase --interactive` for such a thing, but
am not sure this branch can safely be rebased.)
---
currency_test.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/currency_test.cpp b/currency_test.cpp
index a91e572..3c3ebbf 100644
--- a/currency_test.cpp
+++ b/currency_test.cpp
@@ -114,7 +114,7 @@ std::cout << "int4: " << big_int4 << std::endl;
//std::cout << 100.0 * too_big << std::endl;
BOOST_TEST_THROW
- (currency(bourn_cast<currency::data_type>(too_big), true)
+ (currency(bourn_cast<currency::data_type>(too_big), raw_cents{})
,std::runtime_error
,"Cast would transgress upper limit."
);