fix(core): Omit trailing semicolon in macro
This commit is contained in:
parent
34832d8cd8
commit
f5bb87f39a
@ -13,8 +13,8 @@ struct Exception : public std::runtime_error
|
|||||||
#define DefineChildException(ExName, ParentEx) struct ExName : public ParentEx { \
|
#define DefineChildException(ExName, ParentEx) struct ExName : public ParentEx { \
|
||||||
ExName(std::string error_message = "") \
|
ExName(std::string error_message = "") \
|
||||||
: ParentEx("["+ std::string(__FUNCTION__) +"] => "+ error_message) {} \
|
: ParentEx("["+ std::string(__FUNCTION__) +"] => "+ error_message) {} \
|
||||||
};
|
}
|
||||||
#define DefineBaseException(ExName) DefineChildException(ExName, Exception);
|
#define DefineBaseException(ExName) DefineChildException(ExName, Exception)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user