X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fauto_unit_test.hh;h=402dd63fdab88984fd7bcec5cb18033064ca925a;hb=8488a803a9e1dfa293af161eb271503990d6fdd3;hp=b2e60ae5a6ee23536311c7c44092b6c5a3ae90e5;hpb=9e7071473642404359c8b7a88c78fe02f00baf16;p=senf.git diff --git a/Utils/auto_unit_test.hh b/Utils/auto_unit_test.hh index b2e60ae..402dd63 100644 --- a/Utils/auto_unit_test.hh +++ b/Utils/auto_unit_test.hh @@ -90,7 +90,7 @@ */ #define SENF_CHECK_NO_THROW(expr) \ BOOST_CHECK_NO_THROW( \ - try { (void) expr ; } \ + try { expr ; } \ catch (std::exception & e) { std::cerr << e.what() << std::endl; throw; } ) ///////////////////////////////hh.e////////////////////////////////////////