From f5bb87f39a720061411da62509aff5cc10ca7b10 Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Tue, 24 May 2016 04:00:43 +0200 Subject: [PATCH] fix(core): Omit trailing semicolon in macro --- include/exception.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/exception.hpp b/include/exception.hpp index 71b93b89..b0880f52 100644 --- a/include/exception.hpp +++ b/include/exception.hpp @@ -13,8 +13,8 @@ struct Exception : public std::runtime_error #define DefineChildException(ExName, ParentEx) struct ExName : public ParentEx { \ ExName(std::string error_message = "") \ : ParentEx("["+ std::string(__FUNCTION__) +"] => "+ error_message) {} \ -}; -#define DefineBaseException(ExName) DefineChildException(ExName, Exception); +} +#define DefineBaseException(ExName) DefineChildException(ExName, Exception) #endif