fix(core): Omit trailing semicolon in macro

This commit is contained in:
Michael Carlberg 2016-05-24 04:00:43 +02:00
parent 34832d8cd8
commit f5bb87f39a
1 changed files with 2 additions and 2 deletions

View File

@ -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