diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2015-01-11 09:38:24 +0100 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2015-01-11 09:38:24 +0100 |
commit | ce903c1a5e1275dbb7a2dba58c8a3eccd5a8f034 (patch) | |
tree | f70d11e2c0fca31d8af99dae918765646c883d1d /test/unit/t_balance.cc | |
parent | 78858382a56b43a9172869f8e8abc9dd8a8bc982 (diff) | |
download | fork-ledger-ce903c1a5e1275dbb7a2dba58c8a3eccd5a8f034.tar.gz fork-ledger-ce903c1a5e1275dbb7a2dba58c8a3eccd5a8f034.tar.bz2 fork-ledger-ce903c1a5e1275dbb7a2dba58c8a3eccd5a8f034.zip |
[tests] Fix compiler warning
Diffstat (limited to 'test/unit/t_balance.cc')
-rw-r--r-- | test/unit/t_balance.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/unit/t_balance.cc b/test/unit/t_balance.cc index c4ec2f31..b503d02a 100644 --- a/test/unit/t_balance.cc +++ b/test/unit/t_balance.cc @@ -178,7 +178,10 @@ BOOST_AUTO_TEST_CASE(testEqaulity) BOOST_CHECK(b4 == b5); +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-value" BOOST_CHECK_THROW(b0 == a0, balance_error); +#pragma GCC diagnostic pop BOOST_CHECK(b0.valid()); BOOST_CHECK(b1.valid()); |