X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkMessageManager.h;h=c5a82117fb468bbe6372ef41dd047bbd30befc36;hb=8ba18df584ba0a409fb042663be9fa76ccb0e0b0;hp=325067a518ac439940c40441e240ead0d92f2137;hpb=be9b45959c8ba18422b8fde3a1575270dca7b6f6;p=bbtk.git diff --git a/kernel/src/bbtkMessageManager.h b/kernel/src/bbtkMessageManager.h index 325067a..c5a8211 100644 --- a/kernel/src/bbtkMessageManager.h +++ b/kernel/src/bbtkMessageManager.h @@ -360,7 +360,7 @@ do \ { \ std::ostringstream s; \ - s << "MESSAGE"; \ + s << MESSAGE; \ std::ostringstream f; \ f << __FILE__ << " (l."<<__LINE__<<")"; \ bbtk::Exception e( BBTK_GET_CURRENT_OBJECT_NAME, \ @@ -382,7 +382,7 @@ s.str()); \ throw e; \ } \ - while (0) + while (0); #define BBTK_INTERNAL_ERROR_MESSAGE \ "\n\n***********************************************\n**** THIS IS AN INTERNAL ERROR TO BBTK ****\n**** Please send a full bug report to : ****\n**** bbtk-developers@creatis.insa-lyon.fr ****\n***********************************************\n\n"