Martin Hořeňovský 0dabd951ba expr is now cast to void in THROWS family of assertions.
This prevents Clang from complaining about unused value in expressions
containing explicit casts used in the THROW assertion macro family.

Example:
`REQUIRE_THROWS_AS(static_cast<bool>(object), std::bad_cast);` would
trigger `-Wunused-value` warning. Now it does not.

Credits to Arto Bendiken, who submitted a PR almost 3 years ago, but his
branch has since died and I was unable to merge it.
2017-01-31 18:02:11 +01:00
..
2014-03-17 18:40:58 +00:00
2014-05-20 18:49:28 +01:00
2014-05-19 18:57:14 +01:00
2015-07-01 07:33:27 +01:00
2015-07-28 18:55:11 +01:00
2014-06-30 07:33:17 +01:00
2014-06-30 07:33:17 +01:00
2014-03-17 18:40:58 +00:00