X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fauto_unit_test.hh;h=95980e3a2010eab949c6fc9fc8bf18acaf3ba6a6;hb=07b8c0784c854893cd1a4ecb9aa051a625ebe17e;hp=b2e60ae5a6ee23536311c7c44092b6c5a3ae90e5;hpb=9e7071473642404359c8b7a88c78fe02f00baf16;p=senf.git diff --git a/Utils/auto_unit_test.hh b/Utils/auto_unit_test.hh index b2e60ae..95980e3 100644 --- a/Utils/auto_unit_test.hh +++ b/Utils/auto_unit_test.hh @@ -33,8 +33,8 @@ (with possibliy adjusted path). */ -#ifndef HH_auto_unit_test_ -#define HH_auto_unit_test_ 1 +#ifndef HH_SENF_Utils_auto_unit_test_ +#define HH_SENF_Utils_auto_unit_test_ 1 // Custom includes #include @@ -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////////////////////////////////////////